Home
last modified time | relevance | path

Searched refs:lasttime (Results 1 – 4 of 4) sorted by relevance

/samples/bpf/
Dhbm_edt_kern.c86 if (qdp->lasttime == 0) in _hbm_out_cg()
93 delta = qdp->lasttime - curtime; in _hbm_out_cg()
97 qdp->lasttime = curtime - BURST_SIZE_NS; in _hbm_out_cg()
100 sendtime = qdp->lasttime; in _hbm_out_cg()
102 __sync_add_and_fetch(&(qdp->lasttime), delta_send); in _hbm_out_cg()
160 __sync_add_and_fetch(&(qdp->lasttime), -delta_send); in _hbm_out_cg()
Dhbm_out_kern.c88 else if (qdp->lasttime == 0) in _hbm_out_cg()
96 delta = curtime - qdp->lasttime; in _hbm_out_cg()
102 qdp->lasttime = curtime; in _hbm_out_cg()
Dhbm.h14 unsigned long long lasttime; /* In ns */ member
Dhbm_kern.h138 qdp->lasttime = bpf_ktime_get_ns(); in hbm_init_vqueue()
150 qdp->lasttime = curtime - BURST_SIZE_NS; // support initial burst in hbm_init_edt_vqueue()