aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorMiroslav Lichvar <[email protected]>2018-06-04 15:34:21 +0200
committerJohn Stultz <[email protected]>2018-07-10 12:44:25 -0700
commitb061c7a513afe14a68af41cec7c3476befc40e95 (patch)
tree7ba281cefc23a75880c3c128e9b9250fa2213997 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent1416270f4a1ae83ea84156ceba19a66a8f88be1f (diff)
timekeeping: Update multiplier when NTP frequency is set directly
When the NTP frequency is set directly from userspace using the ADJ_FREQUENCY or ADJ_TICK timex mode, immediately update the timekeeper's multiplier instead of waiting for the next tick. This removes a hidden non-deterministic delay in setting of the frequency and allows an extremely tight control of the system clock with update rates close to or even exceeding the kernel HZ. The update is limited to archs using modern timekeeping (!ARCH_USES_GETTIMEOFFSET). Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Miroslav Lichvar <[email protected]> Cc: Richard Cochran <[email protected]> Cc: Prarit Bhargava <[email protected]> Cc: Stephen Boyd <[email protected]> Signed-off-by: Miroslav Lichvar <[email protected]> Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions