Home
last modified time | relevance | path

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

/samples/bpf/
Dxdp_rxq_info_user.c300 __u64 period = 0; in calc_period() local
302 period = r->timestamp - p->timestamp; in calc_period()
303 if (period > 0) in calc_period()
304 period_ = ((double) period / NANOSEC_PER_SEC); in calc_period()
Dxdp_sample_user.c574 __u64 period = 0; in calc_period() local
576 period = r->timestamp - p->timestamp; in calc_period()
577 if (period > 0) in calc_period()
578 period_ = ((double)period / NANOSEC_PER_SEC); in calc_period()