mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Enhancement - timers
- Timers now only use fixed precision for even very small numbers.
This commit is contained in:
parent
b31cc639a4
commit
acb6e3cfdc
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ Timer::~Timer ()
|
|||
<< mDescription
|
||||
<< " "
|
||||
<< std::setprecision (6)
|
||||
<< std::fixed
|
||||
<< ((end.tv_sec - mStart.tv_sec) + ((end.tv_usec - mStart.tv_usec )
|
||||
/ 1000000.0));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue