mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-11 11:34:02 +00:00
Make more compatible with GCC 2.96
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5550 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e040f97066
commit
8166b7cdb8
@ -215,10 +215,11 @@ 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: " << std::fixed
|
<< "===\n Total Execution Time: ";
|
||||||
<< Total.getProcessTime()
|
|
||||||
<< " seconds (" << Total.getWallTime() << std::scientific
|
// Hack for GCC 2.96... :( it doesn't support manipulators!
|
||||||
<< " wall clock)\n\n";
|
fprintf(stderr, "%.4f seconds (%.4f wall clock)\n\n",
|
||||||
|
Total.getProcessTime(), Total.getWallTime());
|
||||||
|
|
||||||
if (Total.UserTime)
|
if (Total.UserTime)
|
||||||
std::cerr << " ---User Time---";
|
std::cerr << " ---User Time---";
|
||||||
|
@ -215,10 +215,11 @@ 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: " << std::fixed
|
<< "===\n Total Execution Time: ";
|
||||||
<< Total.getProcessTime()
|
|
||||||
<< " seconds (" << Total.getWallTime() << std::scientific
|
// Hack for GCC 2.96... :( it doesn't support manipulators!
|
||||||
<< " wall clock)\n\n";
|
fprintf(stderr, "%.4f seconds (%.4f wall clock)\n\n",
|
||||||
|
Total.getProcessTime(), Total.getWallTime());
|
||||||
|
|
||||||
if (Total.UserTime)
|
if (Total.UserTime)
|
||||||
std::cerr << " ---User Time---";
|
std::cerr << " ---User Time---";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user