Skip to content

Commit 52331be

Browse files
committed
formatting
1 parent 4df069e commit 52331be

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

llvm/lib/Support/Timer.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)