Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/md/
Ddm-stats.h22 unsigned long long duration_ns; member
Ddm-stats.c559 p->ticks[idx] += stats_aux->duration_ns; in dm_stat_for_entry()
560 duration = stats_aux->duration_ns; in dm_stat_for_entry()
658 stats_aux->duration_ns = ktime_to_ns(ktime_get()); in dm_stats_account_io()
660 stats_aux->duration_ns = ktime_to_ns(ktime_get()) - stats_aux->duration_ns; in dm_stats_account_io()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_vblank.c592 int delta_ns, duration_ns; in drm_calc_vbltimestamp_from_scanoutpos() local
651 duration_ns = ktime_to_ns(etime) - ktime_to_ns(stime); in drm_calc_vbltimestamp_from_scanoutpos()
654 if (duration_ns <= *max_error) in drm_calc_vbltimestamp_from_scanoutpos()
661 pipe, duration_ns/1000, *max_error/1000, i); in drm_calc_vbltimestamp_from_scanoutpos()
665 *max_error = duration_ns; in drm_calc_vbltimestamp_from_scanoutpos()
689 duration_ns / 1000, i); in drm_calc_vbltimestamp_from_scanoutpos()