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/
A Dtest_util.c61 int64_t timespec_to_ns(struct timespec ts) in timespec_to_ns() function
79 int64_t ns1 = timespec_to_ns(ts1); in timespec_add()
80 int64_t ns2 = timespec_to_ns(ts2); in timespec_add()
86 int64_t ns1 = timespec_to_ns(ts1); in timespec_sub()
87 int64_t ns2 = timespec_to_ns(ts2); in timespec_sub()
101 int64_t ns = timespec_to_ns(ts) / divisor; in timespec_div()
/linux/arch/um/os-Linux/
A Dtime.c27 static inline long long timespec_to_ns(const struct timespec *ts) in timespec_to_ns() function
37 return timespec_to_ns(&realtime_tp); in os_persistent_clock_emulation()
99 return timespec_to_ns(&ts); in os_nsecs()
/linux/tools/perf/jvmti/
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/
A Dtest_util.h64 int64_t timespec_to_ns(struct timespec ts);
/linux/tools/testing/selftests/kvm/
A Dmemslot_perf_test.c982 result.slottimens = timespec_to_ns(result.slot_runtime); in test_loop()
983 result.runtimens = timespec_to_ns(result.iter_runtime); in test_loop()
A Dsteal_time.c227 if (timespec_to_ns(timespec_sub(ts, stop)) >= 0) in do_steal_time()
A Ddemand_paging_test.c114 timespec_to_ns(ts_diff)); in handle_uffd_page_request()

Completed in 13 milliseconds