Home
last modified time | relevance | path

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

/linux/tools/power/cpupower/utils/idle_monitor/
H A Dnhm_idle.c64 static unsigned long long tsc_at_measure_start; variable
111 (tsc_at_measure_end - tsc_at_measure_start); in nhm_get_count_percent()
119 (unsigned long long) tsc_at_measure_end - tsc_at_measure_start, in nhm_get_count_percent()
131 nhm_get_count(TSC, &tsc_at_measure_start, base_cpu); in nhm_start()
140 dprint("TSC diff: %llu\n", dbg - tsc_at_measure_start); in nhm_start()
H A Dmperf_monitor.c73 static unsigned long long *tsc_at_measure_start; variable
172 tsc_diff = tsc_at_measure_end[cpu] - tsc_at_measure_start[cpu]; in mperf_get_count_percent()
209 tsc_diff = tsc_at_measure_end[cpu] - tsc_at_measure_start[cpu]; in mperf_get_count_freq()
232 mperf_get_tsc(&tsc_at_measure_start[cpu]); in mperf_start()
350 tsc_at_measure_start = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register()
362 free(tsc_at_measure_start); in mperf_unregister()
H A Dhsw_ext_idle.c55 static unsigned long long tsc_at_measure_start; variable
98 (tsc_at_measure_end - tsc_at_measure_start); in hsw_ext_get_count_percent()
106 (unsigned long long) tsc_at_measure_end - tsc_at_measure_start, in hsw_ext_get_count_percent()
124 hsw_ext_get_count(TSC, &tsc_at_measure_start, base_cpu); in hsw_ext_start()
H A Dsnb_idle.c53 static unsigned long long tsc_at_measure_start; variable
96 (tsc_at_measure_end - tsc_at_measure_start); in snb_get_count_percent()
104 (unsigned long long) tsc_at_measure_end - tsc_at_measure_start, in snb_get_count_percent()
122 snb_get_count(TSC, &tsc_at_measure_start, base_cpu); in snb_start()