Lines Matching full:total
159 static void printVal(double Val, double Total, raw_ostream &OS) { in printVal() argument
160 if (Total < 1e-7) // Avoid dividing by zero. in printVal()
163 OS << format(" %7.4f (%5.1f%%)", Val, Val*100/Total); in printVal()
166 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { in print() argument
167 if (Total.getUserTime()) in print()
168 printVal(getUserTime(), Total.getUserTime(), OS); in print()
169 if (Total.getSystemTime()) in print()
170 printVal(getSystemTime(), Total.getSystemTime(), OS); in print()
171 if (Total.getProcessTime()) in print()
172 printVal(getProcessTime(), Total.getProcessTime(), OS); in print()
173 printVal(getWallTime(), Total.getWallTime(), OS); in print()
177 if (Total.getMemUsed()) in print()
308 TimeRecord Total; in PrintQueuedTimers() local
310 Total += RecordNamePair.first; in PrintQueuedTimers()
320 // If this is not an collection of ungrouped times, print the total time. in PrintQueuedTimers()
322 // TOTAL line to make the percentages make sense. in PrintQueuedTimers()
324 OS << format(" Total Execution Time: %5.4f seconds (%5.4f wall clock)\n", in PrintQueuedTimers()
325 Total.getProcessTime(), Total.getWallTime()); in PrintQueuedTimers()
328 if (Total.getUserTime()) in PrintQueuedTimers()
330 if (Total.getSystemTime()) in PrintQueuedTimers()
332 if (Total.getProcessTime()) in PrintQueuedTimers()
335 if (Total.getMemUsed()) in PrintQueuedTimers()
342 Entry.first.print(Total, OS); in PrintQueuedTimers()
346 Total.print(Total, OS); in PrintQueuedTimers()
347 OS << "Total\n\n"; in PrintQueuedTimers()