Searched refs:tsc_diff (Results 1 – 2 of 2) sorted by relevance
118 unsigned long long cur_tsc, tsc_diff; in hangcheck_fire() local123 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()
159 unsigned long long aperf_diff, mperf_diff, tsc_diff; in mperf_get_count_percent() local172 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() local209 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()