mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21422 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user