git://developer.intra2net.com
/
libi2ncommon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
fe37773
)
Fix output unit for Time::operator<<
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Wed, 27 Mar 2019 15:49:44 +0000 (16:49 +0100)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Wed, 27 Mar 2019 15:49:44 +0000 (16:49 +0100)
It's seconds instead of milliseconds.
src/timefunc.hxx
patch
|
blob
|
blame
|
history
diff --git
a/src/timefunc.hxx
b/src/timefunc.hxx
index
9961b6c
..
3cb34ad
100644
(file)
--- a/
src/timefunc.hxx
+++ b/
src/timefunc.hxx
@@
-626,7
+626,7
@@
namespace clock {
inline std::ostream &
operator<< (std::ostream &os, const Time &t)
{
- os << I2n::to_string (t.value.tv_sec) << "ms, "
+ os << I2n::to_string (t.value.tv_sec) << "s, "
<< I2n::to_string (t.value.tv_nsec) << "ns"
;