Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/kvm/
Ddirty_log_perf_test.c77 struct timespec ts_diff; in vcpu_worker() local
89 ts_diff = timespec_elapsed(start); in vcpu_worker()
103 total = timespec_add(total, ts_diff); in vcpu_worker()
105 vcpu_idx, current_iteration, ts_diff.tv_sec, in vcpu_worker()
106 ts_diff.tv_nsec); in vcpu_worker()
109 vcpu_idx, current_iteration, ts_diff.tv_sec, in vcpu_worker()
110 ts_diff.tv_nsec); in vcpu_worker()
148 struct timespec ts_diff; in run_test() local
203 ts_diff = timespec_elapsed(start); in run_test()
205 ts_diff.tv_sec, ts_diff.tv_nsec); in run_test()
[all …]
Ddemand_paging_test.c41 struct timespec ts_diff; in vcpu_worker() local
55 ts_diff = timespec_elapsed(start); in vcpu_worker()
57 ts_diff.tv_sec, ts_diff.tv_nsec); in vcpu_worker()
66 struct timespec ts_diff; in handle_uffd_page_request() local
101 ts_diff = timespec_elapsed(start); in handle_uffd_page_request()
104 timespec_to_ns(ts_diff)); in handle_uffd_page_request()
135 struct timespec ts_diff; in run_test() local
185 ts_diff = timespec_elapsed(start); in run_test()
195 ts_diff.tv_sec, ts_diff.tv_nsec); in run_test()
198 ((double)ts_diff.tv_sec + (double)ts_diff.tv_nsec / NSEC_PER_SEC)); in run_test()
Dkvm_page_table_test.c190 struct timespec ts_diff; in vcpu_worker() local
205 ts_diff = timespec_elapsed(start); in vcpu_worker()
222 ts_diff.tv_sec, ts_diff.tv_nsec); in vcpu_worker()
348 struct timespec ts_diff; in run_test() local
372 ts_diff = timespec_elapsed(start); in run_test()
375 ts_diff.tv_sec, ts_diff.tv_nsec); in run_test()
385 ts_diff = timespec_elapsed(start); in run_test()
388 ts_diff.tv_sec, ts_diff.tv_nsec); in run_test()
397 ts_diff = timespec_elapsed(start); in run_test()
400 ts_diff.tv_sec, ts_diff.tv_nsec); in run_test()
/Linux-v6.6/tools/testing/selftests/kvm/lib/
Duserfaultfd_util.c36 struct timespec ts_diff; in uffd_handler_thread_fn() local
103 ts_diff = timespec_elapsed(start); in uffd_handler_thread_fn()
105 pages, ts_diff.tv_sec, ts_diff.tv_nsec, in uffd_handler_thread_fn()
106 pages / ((double)ts_diff.tv_sec + (double)ts_diff.tv_nsec / NSEC_PER_SEC)); in uffd_handler_thread_fn()
/Linux-v6.6/fs/f2fs/
Diostat.c215 unsigned long ts_diff; in __update_iostat_latency() local
224 ts_diff = jiffies - iostat_ctx->submit_ts; in __update_iostat_latency()
233 io_lat->sum_lat[lat_type][page_type] += ts_diff; in __update_iostat_latency()
235 if (ts_diff > io_lat->peak_lat[lat_type][page_type]) in __update_iostat_latency()
236 io_lat->peak_lat[lat_type][page_type] = ts_diff; in __update_iostat_latency()
/Linux-v6.6/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()