Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/kvm/
Ddirty_log_perf_test.c41 struct timespec ts_diff; in vcpu_worker() local
55 ts_diff = timespec_diff_now(start); in vcpu_worker()
69 total = timespec_add(total, ts_diff); in vcpu_worker()
71 vcpu_id, current_iteration, ts_diff.tv_sec, in vcpu_worker()
72 ts_diff.tv_nsec); in vcpu_worker()
75 vcpu_id, current_iteration, ts_diff.tv_sec, in vcpu_worker()
76 ts_diff.tv_nsec); in vcpu_worker()
105 struct timespec ts_diff; in run_test() local
152 ts_diff = timespec_diff_now(start); in run_test()
154 ts_diff.tv_sec, ts_diff.tv_nsec); in run_test()
[all …]
Ddemand_paging_test.c52 struct timespec ts_diff; in vcpu_worker() local
68 ts_diff = timespec_diff_now(start); in vcpu_worker()
70 ts_diff.tv_sec, ts_diff.tv_nsec); in vcpu_worker()
79 struct timespec ts_diff; in handle_uffd_page_request() local
99 ts_diff = timespec_diff_now(start); in handle_uffd_page_request()
102 timespec_to_ns(ts_diff)); in handle_uffd_page_request()
125 struct timespec ts_diff; in uffd_handler_thread_fn() local
194 ts_diff = timespec_diff_now(start); in uffd_handler_thread_fn()
196 pages, ts_diff.tv_sec, ts_diff.tv_nsec, in uffd_handler_thread_fn()
197 pages / ((double)ts_diff.tv_sec + (double)ts_diff.tv_nsec / 100000000.0)); in uffd_handler_thread_fn()
[all …]
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/
Dhbm.c292 ktime_t ts_diff = ktime_sub(cl->ts_out_fc, cl->ts_rx); in ishtp_hbm_cl_flow_control_req() local
293 if (ktime_after(ts_diff, cl->ts_max_fc_delay)) in ishtp_hbm_cl_flow_control_req()
294 cl->ts_max_fc_delay = ts_diff; in ishtp_hbm_cl_flow_control_req()