Home
last modified time | relevance | path

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

/linux-6.1.9/samples/bpf/
Dxdp_rxq_info_user.c177 #define NANOSEC_PER_SEC 1000000000 /* 10^9 */ macro
188 return (__u64) t.tv_sec * NANOSEC_PER_SEC + t.tv_nsec; in gettime()
313 period_ = ((double) period / NANOSEC_PER_SEC); in calc_period()
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()