Home
last modified time | relevance | path

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

/Linux-v4.19/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
234 time_end = ns_to_ktime(local_clock()); in cpuidle_enter_state()
250 diff = ktime_us_delta(time_end, time_start); in cpuidle_enter_state()
/Linux-v4.19/tools/power/cpupower/utils/idle_monitor/
Dmperf_monitor.c33 static struct timespec time_start, time_end; variable
139 timediff = max_frequency * timespec_diff_us(time_start, time_end); in mperf_get_count_percent()
172 time_diff = timespec_diff_us(time_start, time_end); in mperf_get_count_freq()
212 clock_gettime(CLOCK_REALTIME, &time_end); in mperf_stop()