Searched refs:delta_time (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/samples/bpf/ |
D | hbm.c | 212 signed long long delta_time, delta_bytes, delta_rate; in run_bpf_prog() local 234 delta_time = (t_new.tv_sec - t_last.tv_sec) * 1000000 + in run_bpf_prog() 236 if (delta_time == 0) in run_bpf_prog() 250 delta_rate = (delta_bytes * 8000000) / delta_time; in run_bpf_prog() 266 delta_time; in run_bpf_prog()
|
/kernel/linux/linux-5.10/drivers/thermal/ |
D | cpufreq_cooling.c | 147 u64 now, now_idle, delta_time, delta_idle; in get_load() local 152 delta_time = now - idle_time->timestamp; in get_load() 154 if (delta_time <= delta_idle) in get_load() 157 load = div64_u64(100 * (delta_time - delta_idle), delta_time); in get_load()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_conntrack_standalone.c | 227 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()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_pwrctrl.c | 333 unsigned long curr_time, delta_time; in PS_RDY_CHECK() local 338 delta_time = curr_time - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK() 340 if (delta_time < LPS_DELAY_TIME) in PS_RDY_CHECK()
|
D | rtw_mlme.c | 138 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()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_pwrctrl.c | 349 unsigned long curr_time, delta_time; in PS_RDY_CHECK() local 367 delta_time = curr_time - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK() 369 if (delta_time < LPS_DELAY_TIME) in PS_RDY_CHECK()
|
D | rtw_mlme.c | 182 unsigned int delta_time; in _rtw_free_network() local 198 delta_time = jiffies_to_msecs(jiffies - pnetwork->last_scanned); in _rtw_free_network() 199 if (delta_time < lifetime)/* unit:msec */ in _rtw_free_network()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|