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 | 10468d8a3c8856a9df9737c4cefe53a4d29dd399 (patch) | |
| tree | 11d293ac9d2b0b90e7f7a4d433eb6ab23b6daac8 /llvm/lib/Support/Timer.cpp | |
| parent | 91fb9ab60b6f769e13d528f66d2357bd461471b9 (diff) | |
| download | bcm5719-llvm-10468d8a3c8856a9df9737c4cefe53a4d29dd399.tar.gz bcm5719-llvm-10468d8a3c8856a9df9737c4cefe53a4d29dd399.zip  | |
Remove trailing whitespace
llvm-svn: 21422
Diffstat (limited to 'llvm/lib/Support/Timer.cpp')
| -rw-r--r-- | llvm/lib/Support/Timer.cpp | 14 | 
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/Support/Timer.cpp b/llvm/lib/Support/Timer.cpp index be58238f8b0..b0012ceb518 100644 --- a/llvm/lib/Support/Timer.cpp +++ b/llvm/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      }  | 

