Searched refs:duration_ns (Results 1 – 5 of 5) sorted by relevance
345 s64 duration_ns, bool no_poll) in teo_find_shallower_state() argument355 if (drv->states[i].target_residency_ns <= duration_ns) in teo_find_shallower_state()382 s64 duration_ns; in teo_select() local392 duration_ns = tick_nohz_get_sleep_length(&delta_tick); in teo_select()393 cpu_data->sleep_length_ns = duration_ns; in teo_select()402 if (drv->states[1].target_residency_ns > duration_ns) in teo_select()449 if (s->target_residency_ns > duration_ns) in teo_select()483 s64 first_suitable_span_ns = duration_ns; in teo_select()513 duration_ns = span_ns; in teo_select()521 duration_ns = first_suitable_span_ns; in teo_select()[all …]
120 static inline int which_bucket(u64 duration_ns, unsigned int nr_iowaiters) in which_bucket() argument133 if (duration_ns < 10ULL * NSEC_PER_USEC) in which_bucket()135 if (duration_ns < 100ULL * NSEC_PER_USEC) in which_bucket()137 if (duration_ns < 1000ULL * NSEC_PER_USEC) in which_bucket()139 if (duration_ns < 10000ULL * NSEC_PER_USEC) in which_bucket()141 if (duration_ns < 100000ULL * NSEC_PER_USEC) in which_bucket()
21 unsigned long long duration_ns; member45 aux->duration_ns = ktime_to_ns(ktime_get()); in dm_stats_record_start()
592 p->ticks[idx] += stats_aux->duration_ns; in dm_stat_for_entry()593 duration = stats_aux->duration_ns; in dm_stat_for_entry()694 stats_aux->duration_ns = ktime_to_ns(ktime_get()) - stats_aux->duration_ns; in dm_stats_account_io()
704 int delta_ns, duration_ns; in drm_crtc_vblank_helper_get_vblank_timestamp_internal() local758 duration_ns = ktime_to_ns(etime) - ktime_to_ns(stime); in drm_crtc_vblank_helper_get_vblank_timestamp_internal()761 if (duration_ns <= *max_error) in drm_crtc_vblank_helper_get_vblank_timestamp_internal()769 pipe, duration_ns / 1000, *max_error / 1000, i); in drm_crtc_vblank_helper_get_vblank_timestamp_internal()773 *max_error = duration_ns; in drm_crtc_vblank_helper_get_vblank_timestamp_internal()798 duration_ns / 1000, i); in drm_crtc_vblank_helper_get_vblank_timestamp_internal()