diff options
author | Chris Lattner <sabre@nondot.org> | 2003-02-12 19:02:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-02-12 19:02:13 +0000 |
commit | 5c6961c50954c283a7404ffd34f671e098d48ee2 (patch) | |
tree | 73644a6919d992be17afccfbce78e911d4f9f880 /llvm/support/lib | |
parent | b8450599f3e39b9c99224eef2ca7ece02fead1d5 (diff) | |
download | bcm5719-llvm-5c6961c50954c283a7404ffd34f671e098d48ee2.tar.gz bcm5719-llvm-5c6961c50954c283a7404ffd34f671e098d48ee2.zip |
Don't output times in "scientific" notation
llvm-svn: 5544
Diffstat (limited to 'llvm/support/lib')
-rw-r--r-- | llvm/support/lib/Support/Timer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/support/lib/Support/Timer.cpp b/llvm/support/lib/Support/Timer.cpp index 3a81fc4b53f..96d92f97191 100644 --- a/llvm/support/lib/Support/Timer.cpp +++ b/llvm/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) |