diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 22:55:34 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 22:55:34 +0000 |
commit | f976c856fcc5055f3fc7d9f070d72c2d027c1d9d (patch) | |
tree | f2c13bd9a96ee1245b89075c2f44cef20e82e307 /lib/Support/Timer.cpp | |
parent | d1c881a8d4da8b4d99c2a40512fbcca652ab445e (diff) |
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Timer.cpp')
-rw-r--r-- | lib/Support/Timer.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp index be58238f8b..b0012ceb51 100644 --- a/lib/Support/Timer.cpp +++ b/lib/Support/Timer.cpp @@ -1,10 +1,10 @@ //===-- Timer.cpp - Interval Timing Support -------------------------------===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // Interval Timing implementation. @@ -238,7 +238,7 @@ void Timer::print(const Timer &Total, std::ostream &OS) { if (Total.getProcessTime()) printVal(getProcessTime(), Total.getProcessTime(), OS); printVal(Elapsed, Total.Elapsed, OS); - + OS << " "; if (Total.MemUsed) { @@ -294,10 +294,10 @@ void TimerGroup::removeTimer() { { // Scope to contain Total timer... don't allow total timer to drop us to // zero timers... Timer Total("TOTAL"); - + for (unsigned i = 0, e = TimersToPrint.size(); i != e; ++i) Total.sum(TimersToPrint[i]); - + // Print out timing header... *OutStream << "===" << std::string(73, '-') << "===\n" << std::string(Padding, ' ') << Name << "\n" @@ -329,11 +329,11 @@ void TimerGroup::removeTimer() { if (Total.getPeakMem()) *OutStream << " -PeakMem-"; *OutStream << " --- Name ---\n"; - + // Loop through all of the timing data, printing it out... for (unsigned i = 0, e = TimersToPrint.size(); i != e; ++i) TimersToPrint[i].print(Total, *OutStream); - + Total.print(Total, *OutStream); *OutStream << std::endl; // Flush output } |