[llvm-commits] [llvm] r86347 - /llvm/trunk/lib/Support/Timer.cpp
Mikhail Glushenkov
foldr at codedgers.com
Fri Nov 6 22:33:12 PST 2009
Author: foldr
Date: Sat Nov 7 00:33:12 2009
New Revision: 86347
URL: http://llvm.org/viewvc/llvm-project?rev=86347&view=rev
Log:
Trailing whitespace.
Modified:
llvm/trunk/lib/Support/Timer.cpp
Modified: llvm/trunk/lib/Support/Timer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Timer.cpp?rev=86347&r1=86346&r2=86347&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Timer.cpp (original)
+++ llvm/trunk/lib/Support/Timer.cpp Sat Nov 7 00:33:12 2009
@@ -66,7 +66,7 @@
}
llvm_release_global_lock();
}
-
+
return tmp;
}
@@ -182,13 +182,13 @@
Lock.acquire();
T.Lock.acquire();
}
-
+
Elapsed += T.Elapsed;
UserTime += T.UserTime;
SystemTime += T.SystemTime;
MemUsed += T.MemUsed;
PeakMem += T.PeakMem;
-
+
if (&T < this) {
T.Lock.release();
Lock.release();
@@ -287,7 +287,7 @@
Lock.acquire();
Total.Lock.acquire();
}
-
+
if (Total.UserTime)
printVal(UserTime, Total.UserTime, OS);
if (Total.SystemTime)
@@ -310,7 +310,7 @@
OS << Name << "\n";
Started = false; // Once printed, don't print again
-
+
if (&Total < this) {
Total.Lock.release();
Lock.release();
@@ -329,13 +329,13 @@
if (LibSupportInfoOutputFilename == "-")
return &outs();
-
+
std::string Error;
raw_ostream *Result = new raw_fd_ostream(LibSupportInfoOutputFilename.c_str(),
Error, raw_fd_ostream::F_Append);
if (Error.empty())
return Result;
-
+
errs() << "Error opening info-output-file '"
<< LibSupportInfoOutputFilename << " for appending!\n";
delete Result;
More information about the llvm-commits
mailing list