From 0b50d4a3289033ecd6f2f9cba046f19af8d0daba Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Fri, 23 Nov 2018 15:51:27 +0000 Subject: [PATCH] log time fix --- Grid/perfmon/Timer.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Grid/perfmon/Timer.h b/Grid/perfmon/Timer.h index 07c5febd..ce1b5d76 100644 --- a/Grid/perfmon/Timer.h +++ b/Grid/perfmon/Timer.h @@ -64,16 +64,20 @@ inline std::ostream& operator<< (std::ostream & stream, const GridMillisecs & no { GridSecs second(1); auto secs = now/second ; - auto subseconds = now%second ; + auto subseconds = now%second ; + auto fill = stream.fill(); stream << secs<<"."<