Home
last modified time | relevance | path

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

/openbmc/linux/drivers/char/
H A Dhangcheck-timer.c118 unsigned long long cur_tsc, tsc_diff; in hangcheck_fire() local
123 tsc_diff = cur_tsc - hangcheck_tsc; in hangcheck_fire()
125 tsc_diff = (cur_tsc + (~0ULL - hangcheck_tsc)); /* or something */ in hangcheck_fire()
127 if (tsc_diff > hangcheck_tsc_margin) { in hangcheck_fire()
146 tsc_diff, tsc_diff - hangcheck_tick*TIMER_FREQ); in hangcheck_fire()
/openbmc/linux/tools/power/cpupower/utils/idle_monitor/
H A Dmperf_monitor.c159 unsigned long long aperf_diff, mperf_diff, tsc_diff; in mperf_get_count_percent() local
172 tsc_diff = tsc_at_measure_end[cpu] - tsc_at_measure_start[cpu]; in mperf_get_count_percent()
173 *percent = 100.0 * mperf_diff / tsc_diff; in mperf_get_count_percent()
175 mperf_cstates[id].name, mperf_diff, tsc_diff); in mperf_get_count_percent()
196 unsigned long long aperf_diff, mperf_diff, time_diff, tsc_diff; in mperf_get_count_freq() local
209 tsc_diff = tsc_at_measure_end[cpu] - tsc_at_measure_start[cpu]; in mperf_get_count_freq()
211 max_frequency = tsc_diff / time_diff; in mperf_get_count_freq()