-
-
Notifications
You must be signed in to change notification settings - Fork 750
Open
Description
Currently we use time (see below), but this can be problematic. For example @pentschev and @quasiben recently tracked down an issue where system time could be off by as much as 2s (including going backwards! 👨🔬). It would be good to start using monotonic to avoid these issues.
distributed/distributed/metrics.py
Lines 80 to 85 in 383ea03
| # A high-resolution wall clock timer measuring the seconds since Unix epoch | |
| if sys.platform.startswith("win"): | |
| time = _WindowsTime().time | |
| else: | |
| # Under modern Unices, time.time() should be good enough | |
| time = timemod.time |
gjoseph92
Metadata
Metadata
Assignees
Labels
No labels