Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/timers/
A Dadjtick.c99 long long delta1, delta2, eppm; in get_ppm_drift() local
110 eppm = (delta1*MILLION)/delta2 - MILLION; in get_ppm_drift()
112 return eppm; in get_ppm_drift()
117 long long eppm, ppm; in check_tick_adj() local
137 eppm = get_ppm_drift(); in check_tick_adj()
138 printf("%lld usec, %lld ppm", systick + (systick * eppm / MILLION), eppm); in check_tick_adj()
159 if (llabs(eppm - ppm) > 100) { in check_tick_adj()
A Draw_skew.c95 long long delta1, delta2, interval, eppm, ppm; in main() local
127 eppm = ((delta2-delta1)*NSEC_PER_SEC)/interval; in main()
128 eppm = -eppm; in main()
129 printf("%lld.%i(est)", eppm/1000, abs((int)(eppm%1000))); in main()
137 if (llabs(eppm - ppm) > 1000) { in main()

Completed in 5 milliseconds