Home
last modified time | relevance | path

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

/samples/bpf/
Dhbm_edt_kern.c59 unsigned long long curtime, sendtime; in _hbm_out_cg() local
89 curtime = bpf_ktime_get_ns(); in _hbm_out_cg()
93 delta = qdp->lasttime - curtime; in _hbm_out_cg()
97 qdp->lasttime = curtime - BURST_SIZE_NS; in _hbm_out_cg()
156 hbm_update_stats(qsp, len, curtime, congestion_flag, drop_flag, in _hbm_out_cg()
Dhbm_out_kern.c63 unsigned long long curtime; in _hbm_out_cg() local
91 curtime = bpf_ktime_get_ns(); in _hbm_out_cg()
96 delta = curtime - qdp->lasttime; in _hbm_out_cg()
102 qdp->lasttime = curtime; in _hbm_out_cg()
167 hbm_update_stats(qsp, len, curtime, congestion_flag, drop_flag, in _hbm_out_cg()
Dhbm_kern.h146 unsigned long long curtime; in hbm_init_edt_vqueue() local
148 curtime = bpf_ktime_get_ns(); in hbm_init_edt_vqueue()
150 qdp->lasttime = curtime - BURST_SIZE_NS; // support initial burst in hbm_init_edt_vqueue()
157 unsigned long long curtime, in hbm_update_stats() argument
173 qsp->firstPacketTime = curtime; in hbm_update_stats()
174 qsp->lastPacketTime = curtime; in hbm_update_stats()