Lines Matching refs:Total
156 static void printVal(double Val, double Total, raw_ostream &OS) { in printVal() argument
157 if (Total < 1e-7) // Avoid dividing by zero. in printVal()
160 OS << format(" %7.4f (%5.1f%%)", Val, Val*100/Total); in printVal()
163 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { in print() argument
164 if (Total.getUserTime()) in print()
165 printVal(getUserTime(), Total.getUserTime(), OS); in print()
166 if (Total.getSystemTime()) in print()
167 printVal(getSystemTime(), Total.getSystemTime(), OS); in print()
168 if (Total.getProcessTime()) in print()
169 printVal(getProcessTime(), Total.getProcessTime(), OS); in print()
170 printVal(getWallTime(), Total.getWallTime(), OS); in print()
174 if (Total.getMemUsed()) in print()
305 TimeRecord Total; in PrintQueuedTimers() local
307 Total += RecordNamePair.first; in PrintQueuedTimers()
322 Total.getProcessTime(), Total.getWallTime()); in PrintQueuedTimers()
325 if (Total.getUserTime()) in PrintQueuedTimers()
327 if (Total.getSystemTime()) in PrintQueuedTimers()
329 if (Total.getProcessTime()) in PrintQueuedTimers()
332 if (Total.getMemUsed()) in PrintQueuedTimers()
339 Entry.first.print(Total, OS); in PrintQueuedTimers()
343 Total.print(Total, OS); in PrintQueuedTimers()