Searched refs:delta_time (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/samples/bpf/ |
D | hbm.c | 211 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/ |
D | cpu_cooling.c | 233 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/ |
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()
|
/Linux-v5.4/drivers/staging/rtl8188eu/core/ |
D | rtw_pwrctrl.c | 337 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()
|
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()
|
/Linux-v5.4/drivers/staging/rtl8723bs/core/ |
D | rtw_pwrctrl.c | 350 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()
|
D | rtw_mlme.c | 183 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/ |
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-v5.4/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()
|