Searched refs:time_end (Results 1 – 2 of 2) sorted by relevance
134 ktime_t time_start, time_end; in enter_s2idle_proper() local160 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() local234 time_end = ns_to_ktime(local_clock()); in cpuidle_enter_state()250 diff = ktime_us_delta(time_end, time_start); in cpuidle_enter_state()
33 static struct timespec time_start, time_end; variable139 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()