• Miroslav Lichvar's avatar
    kselftests: timers: Add test for frequency step · 76739256
    Miroslav Lichvar authored
    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: default avatarMiroslav Lichvar <mlichvar@redhat.com>
    Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
    76739256
freq-step.c 6.09 KB