commit | f78a90217447b10cb52c2789d88da07088b37425 | [log] [tgz] |
---|---|---|
author | Sami Kerola <kerolasa@iki.fi> | Mon Jan 07 21:34:11 2019 +0000 |
committer | Sami Kerola <kerolasa@iki.fi> | Sat Jan 12 08:46:54 2019 +0000 |
tree | 76b4cb8d6a1fa5e29cf38c3c0af1bde76cf1bf40 | |
parent | ee6e39305c55d04e647c294898568ed1d3699638 [diff] |
hwclock: use monotonic time to measure how long setting time takes Earlier gettimeofday() was affected by discontinuous jumps. Measuring how long time it takes to set time using function that effected by the very thing being measured makes head spin. Lets make this less confusing with monotonic clock that ticks on without jumps. Signed-off-by: Sami Kerola <kerolasa@iki.fi>