diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-12-21 13:31:53 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-12-21 13:31:53 +0000 |
commit | 0c910b30670b4095670e10b356b678dc630ffacd (patch) | |
tree | 300a192d3165d6d8631f8168fdde83329d589058 /lib | |
parent | 2dd0e0ddadba9454309464ed1f63557aaf6f938a (diff) |
Reduce detail on logging box_time_ts from microseconds to milliseconds.
There's not much point logging with higher precision when no normal platform
will deliver it.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common/Logging.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/Logging.h b/lib/common/Logging.h index ce78413e..100d9358 100644 --- a/lib/common/Logging.h +++ b/lib/common/Logging.h @@ -146,9 +146,9 @@ #define BOX_FORMAT_MICROSECONDS(t) \ (int)((t) / 1000000) << "." << \ - std::setw(6) << \ + std::setw(3) << \ std::setfill('0') << \ - (int)((t) % 1000000) << " seconds" + (int)((t % 1000000) / 1000) << " seconds" #undef ERROR |