Home
last modified time | relevance | path

Searched refs:NANOSEC_PER_SEC (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/
Dxdp_hw_metadata.c162 #define NANOSEC_PER_SEC 1000000000 /* 10^9 */ macro
174 return (__u64) t.tv_sec * NANOSEC_PER_SEC + t.tv_nsec; in gettime()
183 name, tstamp, (double)tstamp / NANOSEC_PER_SEC, refname, in print_tstamp_delta()
184 (double)delta / NANOSEC_PER_SEC, in print_tstamp_delta()
/linux-6.12.1/samples/bpf/
Dxdp_sample_user.c67 #define NANOSEC_PER_SEC 1000000000 /* 10^9 */ macro
202 return (__u64)t.tv_sec * NANOSEC_PER_SEC + t.tv_nsec; in gettime()
577 period_ = ((double)period / NANOSEC_PER_SEC); in calc_period()
1024 prev_time = sample_interval * NANOSEC_PER_SEC; in stats_get_devmap_xmit_multi()