Skip to content
Snippets Groups Projects
Commit 5c6961c5 authored by Chris Lattner's avatar Chris Lattner
Browse files

Don't output times in "scientific" notation

llvm-svn: 5544
parent b8450599
No related branches found
No related tags found
No related merge requests found
...@@ -221,8 +221,9 @@ void TimerGroup::removeTimer() { ...@@ -221,8 +221,9 @@ void TimerGroup::removeTimer() {
std::cerr << "===" << std::string(73, '-') << "===\n" std::cerr << "===" << std::string(73, '-') << "===\n"
<< std::string(Padding, ' ') << Name << "\n" << std::string(Padding, ' ') << Name << "\n"
<< "===" << std::string(73, '-') << "===" << std::string(73, '-')
<< "===\n Total Execution Time: " << Total.getProcessTime() << "===\n Total Execution Time: " << std::fixed
<< " seconds (" << Total.getWallTime() << Total.getProcessTime()
<< " seconds (" << Total.getWallTime() << std::scientific
<< " wall clock)\n\n"; << " wall clock)\n\n";
if (Total.UserTime) if (Total.UserTime)
......
...@@ -221,8 +221,9 @@ void TimerGroup::removeTimer() { ...@@ -221,8 +221,9 @@ void TimerGroup::removeTimer() {
std::cerr << "===" << std::string(73, '-') << "===\n" std::cerr << "===" << std::string(73, '-') << "===\n"
<< std::string(Padding, ' ') << Name << "\n" << std::string(Padding, ' ') << Name << "\n"
<< "===" << std::string(73, '-') << "===" << std::string(73, '-')
<< "===\n Total Execution Time: " << Total.getProcessTime() << "===\n Total Execution Time: " << std::fixed
<< " seconds (" << Total.getWallTime() << Total.getProcessTime()
<< " seconds (" << Total.getWallTime() << std::scientific
<< " wall clock)\n\n"; << " wall clock)\n\n";
if (Total.UserTime) if (Total.UserTime)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment