changeset 39935:cb9b23ec093c

catapipe: fix bug introduced when switching to the timer api Differential Revision: https://phab.mercurial-scm.org/D4818
author Augie Fackler <augie@google.com>
date Mon, 01 Oct 2018 09:05:41 -0400
parents a24f4638d6c1
children 277a6fb460a6
files contrib/catapipe.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/catapipe.py	Sun Sep 30 03:45:51 2018 +0530
+++ b/contrib/catapipe.py	Mon Oct 01 09:05:41 2018 -0400
@@ -71,7 +71,7 @@
                 if session not in _threadmap:
                     _threadmap[session] = len(_threadmap)
                 pid = _threadmap[session]
-                ts_micros = (now - start).total_seconds() * 1000000
+                ts_micros = (now - start) * 1000000
                 out.write(json.dumps(
                     {
                         "name": label,