[llvm-commits] CVS: llvm/lib/Support/Timer.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Feb 12 13:03:02 PST 2003
Changes in directory llvm/lib/Support:
Timer.cpp updated: 1.12 -> 1.13
---
Log message:
Don't output times in "scientific" notation
---
Diffs of the changes:
Index: llvm/lib/Support/Timer.cpp
diff -u llvm/lib/Support/Timer.cpp:1.12 llvm/lib/Support/Timer.cpp:1.13
--- llvm/lib/Support/Timer.cpp:1.12 Wed Feb 5 15:44:28 2003
+++ llvm/lib/Support/Timer.cpp Wed Feb 12 13:02:13 2003
@@ -221,8 +221,9 @@
std::cerr << "===" << std::string(73, '-') << "===\n"
<< std::string(Padding, ' ') << Name << "\n"
<< "===" << std::string(73, '-')
- << "===\n Total Execution Time: " << Total.getProcessTime()
- << " seconds (" << Total.getWallTime()
+ << "===\n Total Execution Time: " << std::fixed
+ << Total.getProcessTime()
+ << " seconds (" << Total.getWallTime() << std::scientific
<< " wall clock)\n\n";
if (Total.UserTime)
More information about the llvm-commits
mailing list