Home
last modified time | relevance | path

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

/linux-6.1.9/samples/bpf/
Dhbm.c219 signed long long delta_time, delta_bytes, delta_rate; in run_bpf_prog() local
241 delta_time = (t_new.tv_sec - t_last.tv_sec) * 1000000 + in run_bpf_prog()
243 if (delta_time == 0) in run_bpf_prog()
257 delta_rate = (delta_bytes * 8000000) / delta_time; in run_bpf_prog()
273 delta_time; in run_bpf_prog()
/linux-6.1.9/drivers/thermal/
Dcpufreq_cooling.c160 u64 now, now_idle, delta_time, delta_idle; in get_load() local
165 delta_time = now - idle_time->timestamp; in get_load()
167 if (delta_time <= delta_idle) in get_load()
170 load = div64_u64(100 * (delta_time - delta_idle), delta_time); in get_load()
/linux-6.1.9/net/netfilter/
Dnf_conntrack_standalone.c230 s64 delta_time; in ct_show_delta_time() local
234 delta_time = st->time_now - tstamp->start; in ct_show_delta_time()
235 if (delta_time > 0) in ct_show_delta_time()
236 delta_time = div_s64(delta_time, NSEC_PER_SEC); in ct_show_delta_time()
238 delta_time = 0; in ct_show_delta_time()
241 (unsigned long long)delta_time); in ct_show_delta_time()
Dnf_conntrack_core.c1471 s32 delta_time; in gc_worker() local
1524 delta_time = nfct_time_stamp - gc_work->start_time; in gc_worker()
1527 next_run = delta_time < (s32)GC_SCAN_INTERVAL_MAX; in gc_worker()
1577 delta_time = nfct_time_stamp - end_time; in gc_worker()
1578 if (delta_time > 0 && i < hashsz) { in gc_worker()
1591 delta_time = max_t(s32, nfct_time_stamp - gc_work->start_time, 1); in gc_worker()
1592 if (next_run > (unsigned long)delta_time) in gc_worker()
1593 next_run -= delta_time; in gc_worker()
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_pwrctrl.c155 u32 curr_time, delta_time; in PS_RDY_CHECK() local
160 delta_time = curr_time - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK()
162 if (delta_time < LPS_DELAY_TIME) in PS_RDY_CHECK()
Drtw_mlme.c54 u32 curr_time, delta_time; in _rtw_free_network() local
68 delta_time = (curr_time - pnetwork->last_scanned) / HZ; in _rtw_free_network()
69 if (delta_time < lifetime)/* unit:sec */ in _rtw_free_network()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_pwrctrl.c314 unsigned long curr_time, delta_time; in PS_RDY_CHECK() local
323 delta_time = curr_time - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK()
325 if (delta_time < LPS_DELAY_TIME) in PS_RDY_CHECK()
Drtw_mlme.c174 unsigned int delta_time; in _rtw_free_network() local
190 delta_time = jiffies_to_msecs(jiffies - pnetwork->last_scanned); in _rtw_free_network()
191 if (delta_time < lifetime)/* unit:msec */ in _rtw_free_network()
/linux-6.1.9/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-6.1.9/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()