[Swan-dev] hi resolution time in log file
D. Hugh Redelmeier
hugh at mimosa.com
Mon Oct 30 19:16:54 UTC 2017
| From: Andrew Cagney <andrew.cagney at gmail.com>
| As for monotime_t I don't know what it is trying to do so I'll ignore it;
| perhaps clock_gettime(CLOCK_MONOTONIC)?
If I remember (I'm sitting in a waiting room so I don't want to check)
- various clocks can jump backwards on UNIX/LINUX
- this causes all kinds of problems with timeouts observable in the
Real World
- we detect backward jumps and compensate for them
- unfortunately we have no way to detect forward jumps
More information about the Swan-dev
mailing list