Home
last modified time | relevance | path

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

/samples/bpf/
Dxdp_rxq_info_user.c168 #define NANOSEC_PER_SEC 1000000000 /* 10^9 */ macro
179 return (__u64) t.tv_sec * NANOSEC_PER_SEC + t.tv_nsec; in gettime()
304 period_ = ((double) period / NANOSEC_PER_SEC); in calc_period()
Dxdp_sample_user.c68 #define NANOSEC_PER_SEC 1000000000 /* 10^9 */ macro
203 return (__u64)t.tv_sec * NANOSEC_PER_SEC + t.tv_nsec; in gettime()
578 period_ = ((double)period / NANOSEC_PER_SEC); in calc_period()
1025 prev_time = sample_interval * NANOSEC_PER_SEC; in stats_get_devmap_xmit_multi()