Searched refs:tsc_diff (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/char/
H A Dhangcheck-timer.c131 unsigned long long cur_tsc, tsc_diff; hangcheck_fire() local
136 tsc_diff = cur_tsc - hangcheck_tsc; hangcheck_fire()
138 tsc_diff = (cur_tsc + (~0ULL - hangcheck_tsc)); /* or something */ hangcheck_fire()
140 if (tsc_diff > hangcheck_tsc_margin) { hangcheck_fire()
159 tsc_diff, tsc_diff - hangcheck_tick*TIMER_FREQ); hangcheck_fire()
/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/
H A Dmperf_monitor.c120 unsigned long long aperf_diff, mperf_diff, tsc_diff; mperf_get_count_percent() local
133 tsc_diff = tsc_at_measure_end - tsc_at_measure_start; mperf_get_count_percent()
134 *percent = 100.0 * mperf_diff / tsc_diff; mperf_get_count_percent()
135 dprint("%s: TSC Ref - mperf_diff: %llu, tsc_diff: %llu\n", mperf_get_count_percent()
136 mperf_cstates[id].name, mperf_diff, tsc_diff); mperf_get_count_percent()
157 unsigned long long aperf_diff, mperf_diff, time_diff, tsc_diff; mperf_get_count_freq() local
170 tsc_diff = tsc_at_measure_end - tsc_at_measure_start; mperf_get_count_freq()
172 max_frequency = tsc_diff / time_diff; mperf_get_count_freq()
H A Dhsw_ext_idle.c106 dprint("%s: tsc_diff: %llu - count_diff: %llu - percent: %2.f (%u)\n", hsw_ext_get_count_percent()
H A Dnhm_idle.c118 dprint("%s: tsc_diff: %llu - count_diff: %llu - percent: %2.f (%u)\n", nhm_get_count_percent()
H A Dsnb_idle.c103 dprint("%s: tsc_diff: %llu - count_diff: %llu - percent: %2.f (%u)\n", snb_get_count_percent()

Completed in 170 milliseconds