You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(PUP-7520) Update Puppet profiling timers to use monotonic clock
This commit updates Puppet::Util::Profiler::WallClock and
Puppet::Util::Profiler::Aggregate to use
Process.clock_gettime(Process::CLOCK_MONOTONIC) instead of Time.now. Time.now
returns a value from the OS REALTIME clock which can be affected by events
like NTP updates. Process.clock_gettime(Process::CLOCK_MONOTONIC) uses a
monotonic clock which isn't affected by things like NTP updates.
0 commit comments