Don't output times in "scientific" notation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5544 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-02-12 19:02:13 +00:00
parent f3bafc1043
commit 98d829c22f
2 changed files with 6 additions and 4 deletions

View File

@ -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)

View File

@ -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)