Home
last modified time | relevance | path

Searched refs:user_hz (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/timers/
H A Dfreq-step.c39 static long user_hz; variable
99 tick_offset = 1e6 * freq / user_hz; in set_frequency()
102 txc.tick = 1000000 / user_hz + tick_offset; in set_frequency()
103 txc.freq = (1e6 * freq - user_hz * tick_offset) * (1 << 16); in set_frequency()
222 user_hz = sysconf(_SC_CLK_TCK); in init_test()