From 98d829c22fe836de0e1e6491aeecbda7217ae05e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 12 Feb 2003 19:02:13 +0000 Subject: [PATCH] Don't output times in "scientific" notation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5544 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Timer.cpp | 5 +++-- support/lib/Support/Timer.cpp | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp index 3a81fc4b53f..96d92f97191 100644 --- a/lib/Support/Timer.cpp +++ b/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) diff --git a/support/lib/Support/Timer.cpp b/support/lib/Support/Timer.cpp index 3a81fc4b53f..96d92f97191 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)