aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-02-12 19:02:13 +0000
committerChris Lattner <sabre@nondot.org>2003-02-12 19:02:13 +0000
commit98d829c22fe836de0e1e6491aeecbda7217ae05e (patch)
tree5e7f8e905a67d8b5e5ffb8d6720d2e73e1c5032a /support
parentf3bafc10438a70d5a65d65b7bc42d7798b7fe14b (diff)
Don't output times in "scientific" notation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'support')
-rw-r--r--support/lib/Support/Timer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/support/lib/Support/Timer.cpp b/support/lib/Support/Timer.cpp
index 3a81fc4b53..96d92f9719 100644
--- a/support/lib/Support/Timer.cpp
+++ b/support/lib/Support/Timer.cpp
@@ -221,8 +221,9 @@ void TimerGroup::removeTimer() {
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)