mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
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:
parent
f3bafc1043
commit
98d829c22f
@ -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() {
|
|||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user