Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/lib/
H A Dtest_util.c119 s64 timespec_to_ns(struct timespec ts) in timespec_elapsed()
137 s64 ns1 = timespec_to_ns(ts1); in print_skip()
138 s64 ns2 = timespec_to_ns(ts2); in print_skip()
144 s64 ns1 = timespec_to_ns(ts1); in test_sysfs_path()
145 s64 ns2 = timespec_to_ns(ts2); in test_sysfs_path()
159 s64 ns = timespec_to_ns(ts) / divisor; in get_sysfs_val()
86 s64 timespec_to_ns(struct timespec ts) timespec_to_ns() function
/linux/arch/um/os-Linux/
H A Dtime.c24 static inline long long timespec_to_ns(const struct timespec *ts) in timespec_to_ns() function
34 return timespec_to_ns(&realtime_tp); in os_persistent_clock_emulation()
108 return timespec_to_ns(&ts); in os_nsecs()
/linux/tools/perf/jvmti/
H A Djvmti_agent.c108 timespec_to_ns(const struct timespec *ts) in timespec_to_ns() function
126 return timespec_to_ns(&ts); in perf_get_timestamp()
/linux/tools/testing/selftests/kvm/include/
H A Dtest_util.h105 s64 timespec_to_ns(struct timespec ts);
/linux/tools/testing/selftests/kvm/
H A Ddemand_paging_test.c125 timespec_to_ns(ts_diff)); in handle_uffd_page_request()
H A Dmemslot_perf_test.c1087 result.slottimens = timespec_to_ns(result.slot_runtime); in test_loop()
1088 result.runtimens = timespec_to_ns(result.iter_runtime); in test_loop()
H A Dsteal_time.c478 if (timespec_to_ns(timespec_sub(ts, stop)) >= 0) in do_steal_time()