Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/
Dxdp_hw_metadata.c138 #define NANOSEC_PER_SEC 1000000000 /* 10^9 */ macro
150 return (__u64) t.tv_sec * NANOSEC_PER_SEC + t.tv_nsec; in gettime()
166 (double)meta->rx_timestamp / NANOSEC_PER_SEC); in verify_xdp_metadata()
174 xdp_clock, (double)xdp_clock / NANOSEC_PER_SEC, in verify_xdp_metadata()
175 (double)delta_X / NANOSEC_PER_SEC, in verify_xdp_metadata()
179 usr_clock, (double)usr_clock / NANOSEC_PER_SEC, in verify_xdp_metadata()
180 (double)delta_X2U / NANOSEC_PER_SEC, in verify_xdp_metadata()
/Linux-v6.6/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()