Home
last modified time | relevance | path

Searched refs:delta_time (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/samples/bpf/
Dhbm.c211 signed long long delta_time, delta_bytes, delta_rate; in run_bpf_prog() local
233 delta_time = (t_new.tv_sec - t_last.tv_sec) * 1000000 + in run_bpf_prog()
235 if (delta_time == 0) in run_bpf_prog()
249 delta_rate = (delta_bytes * 8000000) / delta_time; in run_bpf_prog()
265 delta_time; in run_bpf_prog()
/Linux-v5.4/drivers/thermal/
Dcpu_cooling.c233 u64 now, now_idle, delta_time, delta_idle; in get_load() local
238 delta_time = now - idle_time->timestamp; in get_load()
240 if (delta_time <= delta_idle) in get_load()
243 load = div64_u64(100 * (delta_time - delta_idle), delta_time); in get_load()
/Linux-v5.4/net/netfilter/
Dnf_conntrack_standalone.c227 s64 delta_time; in ct_show_delta_time() local
231 delta_time = st->time_now - tstamp->start; in ct_show_delta_time()
232 if (delta_time > 0) in ct_show_delta_time()
233 delta_time = div_s64(delta_time, NSEC_PER_SEC); in ct_show_delta_time()
235 delta_time = 0; in ct_show_delta_time()
238 (unsigned long long)delta_time); in ct_show_delta_time()
/Linux-v5.4/drivers/staging/rtl8188eu/core/
Drtw_pwrctrl.c337 unsigned long curr_time, delta_time; in PS_RDY_CHECK() local
342 delta_time = curr_time - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK()
344 if (delta_time < LPS_DELAY_TIME) in PS_RDY_CHECK()
Drtw_mlme.c138 u32 delta_time; in _rtw_free_network() local
152 delta_time = (curr_time - pnetwork->last_scanned)/HZ; in _rtw_free_network()
153 if (delta_time < lifetime)/* unit:sec */ in _rtw_free_network()
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_pwrctrl.c350 unsigned long curr_time, delta_time; in PS_RDY_CHECK() local
368 delta_time = curr_time - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK()
370 if (delta_time < LPS_DELAY_TIME) in PS_RDY_CHECK()
Drtw_mlme.c183 unsigned int delta_time; in _rtw_free_network() local
199 delta_time = jiffies_to_msecs(jiffies - pnetwork->last_scanned); in _rtw_free_network()
200 if (delta_time < lifetime)/* unit:msec */ in _rtw_free_network()
/Linux-v5.4/drivers/staging/rtl8712/
Drtl871x_mlme.c94 u32 curr_time, delta_time; in _free_network() local
103 delta_time = (curr_time - (u32)pnetwork->last_scanned) / HZ; in _free_network()
104 if (delta_time < SCANQUEUE_LIFETIME) in _free_network()
/Linux-v5.4/arch/powerpc/platforms/cell/spufs/
Dswitch.c1265 cycles_t delta_time = resume_time - csa->suspend_time; in setup_decr() local
1268 if (csa->lscsa->decr.slot[0] < delta_time) { in setup_decr()
1273 csa->lscsa->decr.slot[0] -= delta_time; in setup_decr()