Home
last modified time | relevance | path

Searched refs:duration_ns (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/drivers/cpuidle/governors/
A Dteo.c332 s64 duration_ns, bool no_poll) in teo_find_shallower_state() argument
342 if (drv->states[i].target_residency_ns <= duration_ns) in teo_find_shallower_state()
369 s64 duration_ns; in teo_select() local
379 duration_ns = tick_nohz_get_sleep_length(&delta_tick); in teo_select()
380 cpu_data->sleep_length_ns = duration_ns; in teo_select()
389 if (drv->states[1].target_residency_ns > duration_ns) in teo_select()
436 if (s->target_residency_ns > duration_ns) in teo_select()
470 s64 first_suitable_span_ns = duration_ns; in teo_select()
500 duration_ns = span_ns; in teo_select()
508 duration_ns = first_suitable_span_ns; in teo_select()
[all …]
A Dmenu.c120 static inline int which_bucket(u64 duration_ns, unsigned int nr_iowaiters) in which_bucket() argument
133 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()
/linux-6.3-rc2/drivers/md/
A Ddm-stats.h21 unsigned long long duration_ns; member
45 aux->duration_ns = ktime_to_ns(ktime_get()); in dm_stats_record_start()
A Ddm-stats.c595 p->ticks[idx] += stats_aux->duration_ns; in dm_stat_for_entry()
596 duration = stats_aux->duration_ns; in dm_stat_for_entry()
697 stats_aux->duration_ns = ktime_to_ns(ktime_get()) - stats_aux->duration_ns; in dm_stats_account_io()
/linux-6.3-rc2/kernel/sched/
A Didle.c337 void play_idle_precise(u64 duration_ns, u64 latency_ns) in play_idle_precise() argument
349 WARN_ON_ONCE(!duration_ns); in play_idle_precise()
360 hrtimer_start(&it.timer, ns_to_ktime(duration_ns), in play_idle_precise()
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_vblank.c704 int delta_ns, duration_ns; in drm_crtc_vblank_helper_get_vblank_timestamp_internal() local
758 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()
/linux-6.3-rc2/include/linux/
A Dcpu.h190 void play_idle_precise(u64 duration_ns, u64 latency_ns);

Completed in 21 milliseconds