예제 #1
0
 def ParsePQATAndPrintTable(self, logName):
     metrics = ["HPWL", "TNS", "WNS"]
     parser = LogParser(logName, TableType.PQAT, self.cfgParser)
     table = parser.ParsePQAT(metrics)
     table = MakeTableInPercents(table)
     pqatName = r"%s.csv" % (os.path.basename(logName))
     PQATFileName = os.path.join(os.path.dirname(logName), pqatName)
     PrintTableToFile(PQATFileName, table, metrics)