]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - tools/testing/selftests/timers/freq-step.c
kselftests: timers: Add test for frequency step
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 9 Jun 2017 11:43:17 +0000 (13:43 +0200)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 21 Jun 2017 05:14:45 +0000 (22:14 -0700)
commit767392565a3e618950fe1a5ff1ba11295f6332f4
treefd79f44db6c855696e079aa661d1c630eabf054f
parent7a5de5512296fd2ab7a497e4a576196b1f046e78
kselftests: timers: Add test for frequency step

This test checks the response of the system clock to frequency
steps made with adjtimex(). The frequency error and stability of
the CLOCK_MONOTONIC clock relative to the CLOCK_MONOTONIC_RAW clock
is measured in two intervals following the step. The test fails if
values from the second interval exceed specified limits.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Miroslav Lichvar <mlichvar@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Stephen Boyd <stephen.boyd@linaro.org>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
tools/testing/selftests/timers/Makefile
tools/testing/selftests/timers/freq-step.c [new file with mode: 0644]