improve elapsed time readability for large numbers.
This commit is contained in:
@@ -885,7 +885,7 @@ Session::save_state (string snapshot_name, bool pending, bool switch_to_snapshot
|
||||
|
||||
#ifndef NDEBUG
|
||||
const int64_t elapsed_time_us = g_get_monotonic_time() - save_start_time;
|
||||
cerr << "saved state in " << setprecision (1) << elapsed_time_us / 1000. << " ms\n";
|
||||
cerr << "saved state in " << fixed << setprecision (1) << elapsed_time_us / 1000. << " ms\n";
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user