File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -381,9 +381,10 @@ void TimerGroup::PrintQueuedTimers(raw_ostream &OS) {
381381
382382 // Loop through all of the timing data, printing it out.
383383 for (const PrintRecord &Record : llvm::reverse (TimersToPrint)) {
384- if (const TimeRecord &TR = Record.Time ; TR.getUserTime () >= minPrintTime () ||
385- TR.getSystemTime () >= minPrintTime () ||
386- TR.getWallTime () >= minPrintTime ()) {
384+ if (const TimeRecord &TR = Record.Time ;
385+ TR.getUserTime () >= minPrintTime () ||
386+ TR.getSystemTime () >= minPrintTime () ||
387+ TR.getWallTime () >= minPrintTime ()) {
387388 Record.Time .print (Total, OS);
388389 OS << Record.Description << ' \n ' ;
389390 }
@@ -531,7 +532,8 @@ class llvm::TimerGlobals {
531532 cl::init (true ), cl::Hidden};
532533 cl::opt<unsigned > MinPrintTime{
533534 " min-print-time" ,
534- cl::desc (" Minimum time in seconds for a timer to be printed" ), cl::init (0 )};
535+ cl::desc (" Minimum time in seconds for a timer to be printed" ),
536+ cl::init (0 )};
535537
536538 sys::SmartMutex<true > TimerLock;
537539 TimerGroup DefaultTimerGroup{" misc" , " Miscellaneous Ungrouped Timers" ,
You can’t perform that action at this time.
0 commit comments