Mercurial > hg
diff contrib/catapipe.py @ 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 | b29ec19748a7 |
children | c311424ea579 |
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,