Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/cpuidle/governors/
Dteo.c351 s64 duration_ns, bool no_poll) in teo_find_shallower_state() argument
361 if (drv->states[i].target_residency_ns <= duration_ns) in teo_find_shallower_state()
390 s64 duration_ns; in teo_select() local
436 duration_ns = drv->states[1].target_residency_ns; in teo_select()
481 duration_ns = drv->states[idx].target_residency_ns; in teo_select()
591 duration_ns = tick_nohz_get_sleep_length(&delta_tick); in teo_select()
592 cpu_data->sleep_length_ns = duration_ns; in teo_select()
598 if (drv->states[idx].target_residency_ns > duration_ns) { in teo_select()
599 i = teo_find_shallower_state(drv, dev, idx, duration_ns, false); in teo_select()
611 duration_ns = TICK_NSEC / 2; in teo_select()
[all …]
Dmenu.c122 static inline int which_bucket(u64 duration_ns, unsigned int nr_iowaiters) in which_bucket() argument
135 if (duration_ns < 10ULL * NSEC_PER_USEC) in which_bucket()
137 if (duration_ns < 100ULL * NSEC_PER_USEC) in which_bucket()
139 if (duration_ns < 1000ULL * NSEC_PER_USEC) in which_bucket()
141 if (duration_ns < 10000ULL * NSEC_PER_USEC) in which_bucket()
143 if (duration_ns < 100000ULL * NSEC_PER_USEC) in which_bucket()
/linux-6.6.21/drivers/md/
Ddm-stats.h21 unsigned long long duration_ns; member
45 aux->duration_ns = ktime_to_ns(ktime_get()); in dm_stats_record_start()
Ddm-stats.c600 p->ticks[idx] += stats_aux->duration_ns; in dm_stat_for_entry()
601 duration = stats_aux->duration_ns; in dm_stat_for_entry()
702 stats_aux->duration_ns = ktime_to_ns(ktime_get()) - stats_aux->duration_ns; in dm_stats_account_io()
/linux-6.6.21/kernel/sched/
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.6.21/drivers/gpu/drm/
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.6.21/include/linux/
Dcpu.h200 void play_idle_precise(u64 duration_ns, u64 latency_ns);