From f8ebfa53b206d9ac33762f55da743b4670332035 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Wed, 27 Mar 2019 16:49:44 +0100 Subject: [PATCH] Fix output unit for Time::operator<< It's seconds instead of milliseconds. --- src/timefunc.hxx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/timefunc.hxx b/src/timefunc.hxx index 9961b6c..3cb34ad 100644 --- 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" ; -- 1.7.1