Home
last modified time | relevance | path

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

/Linux-v5.4/tools/power/cpupower/utils/idle_monitor/
Dmperf_monitor.c32 static struct timespec time_start, time_end; variable
138 timediff = max_frequency * timespec_diff_us(time_start, time_end); in mperf_get_count_percent()
171 time_diff = timespec_diff_us(time_start, time_end); in mperf_get_count_freq()
211 clock_gettime(CLOCK_REALTIME, &time_end); in mperf_stop()
/Linux-v5.4/drivers/cpuidle/
Dcpuidle.c134 ktime_t time_start, time_end; in enter_s2idle_proper() local
160 time_end = ns_to_ktime(local_clock()); in enter_s2idle_proper()
162 dev->states_usage[index].s2idle_time += ktime_us_delta(time_end, time_start); in enter_s2idle_proper()
204 ktime_t time_start, time_end; in cpuidle_enter_state() local
233 time_end = ns_to_ktime(local_clock()); in cpuidle_enter_state()
258 diff = ktime_us_delta(time_end, time_start); in cpuidle_enter_state()