summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index adea74f5..7b3fb2f4 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -70,7 +70,12 @@ Rv CompilePhase(const char *name, Fcn f) {
auto rv = f();
auto end = clock();
g_cur_phase = "";
- ::std::cout << name << ": DONE (" << ::std::fixed << ::std::setprecision(2) << static_cast<double>(end - start) / static_cast<double>(CLOCKS_PER_SEC) << " s)" << ::std::endl;
+
+ //::std::cout << name << ": DONE (" << ::std::fixed << ::std::setprecision(2) << static_cast<double>(end - start) / static_cast<double>(CLOCKS_PER_SEC) << " s)" << ::std::endl;
+
+ ::std::cout <<"(" << ::std::fixed << ::std::setprecision(2) << static_cast<double>(end - start) / static_cast<double>(CLOCKS_PER_SEC) << " s) ";
+ ::std::cout << name << ": DONE";
+ ::std::cout << ::std::endl;
return rv;
}
template <typename Fcn>