Home
last modified time | relevance | path

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

/Linux-v5.4/samples/bpf/
Dxdp_monitor_user.c68 #define NANOSEC_PER_SEC 1000000000 /* 10^9 */ macro
79 return (__u64) t.tv_sec * NANOSEC_PER_SEC + t.tv_nsec; in gettime()
217 period_ = ((double) period / NANOSEC_PER_SEC); in calc_period()
229 period_ = ((double) period / NANOSEC_PER_SEC); in calc_period_u64()
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()
311 period_ = ((double) period / NANOSEC_PER_SEC); in calc_period()
Dxdp_redirect_cpu_user.c131 #define NANOSEC_PER_SEC 1000000000 /* 10^9 */ macro
142 return (__u64) t.tv_sec * NANOSEC_PER_SEC + t.tv_nsec; in gettime()
254 period_ = ((double) period / NANOSEC_PER_SEC); in calc_period()