Searched refs:delta_time (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/samples/bpf/ |
D | hbm.c | 219 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/ |
D | cpufreq_cooling.c | 160 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/ |
D | nf_conntrack_standalone.c | 230 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()
|
D | nf_conntrack_core.c | 1471 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/ |
D | rtw_pwrctrl.c | 155 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()
|
D | rtw_mlme.c | 54 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/ |
D | rtw_pwrctrl.c | 314 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()
|
D | rtw_mlme.c | 174 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/ |
D | rtl871x_mlme.c | 94 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/ |
D | switch.c | 1265 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()
|