/kernel/linux/linux-5.10/kernel/sched/ |
D | sched_avg.c | 44 u64 curr_time = sched_clock(); in sched_get_nr_running_avg() local 45 u64 period = curr_time - last_get_time; in sched_get_nr_running_avg() 57 curr_time = sched_clock(); in sched_get_nr_running_avg() 58 diff = curr_time - per_cpu(last_time, cpu); in sched_get_nr_running_avg() 82 per_cpu(last_time, cpu) = curr_time; in sched_get_nr_running_avg() 91 last_get_time = curr_time; in sched_get_nr_running_avg() 99 unsigned long prev_nr_run, u64 curr_time) in update_last_busy_time() argument 114 atomic64_set(&per_cpu(last_busy_time, cpu), curr_time); in update_last_busy_time() 129 u64 curr_time; in sched_update_nr_prod() local 134 curr_time = sched_clock(); in sched_update_nr_prod() [all …]
|
/kernel/linux/linux-5.10/tools/laptop/dslm/ |
D | dslm.c | 72 time_t curr_time = 0; in measure() local 93 curr_time = time(0); in measure() 94 time_diff = curr_time - last_time; in measure() 101 last_time = curr_time; in measure() 103 printf("%s: State-change to %s\n", myctime(curr_time), in measure() 110 printf("\nTotal running time: %lus\n", curr_time - start_time); in measure()
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
D | sir_ir.c | 153 ktime_t curr_time; in sir_interrupt() local 180 curr_time = ktime_get(); in sir_interrupt() 182 ktime_us_delta(last, curr_time), in sir_interrupt() 186 curr_time), in sir_interrupt() 215 last = curr_time; in sir_interrupt() 219 last_intr_time = curr_time; in sir_interrupt()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | hpet.c | 1322 struct rtc_time curr_time; in hpet_rtc_interrupt() local 1326 memset(&curr_time, 0, sizeof(struct rtc_time)); in hpet_rtc_interrupt() 1329 mc146818_get_time(&curr_time); in hpet_rtc_interrupt() 1332 curr_time.tm_sec != hpet_prev_update_sec) { in hpet_rtc_interrupt() 1335 hpet_prev_update_sec = curr_time.tm_sec; in hpet_rtc_interrupt() 1344 (curr_time.tm_sec == hpet_alarm_time.tm_sec) && in hpet_rtc_interrupt() 1345 (curr_time.tm_min == hpet_alarm_time.tm_min) && in hpet_rtc_interrupt() 1346 (curr_time.tm_hour == hpet_alarm_time.tm_hour)) in hpet_rtc_interrupt()
|
/kernel/linux/linux-5.10/drivers/clocksource/ |
D | timer-davinci.c | 159 unsigned int curr_time; in davinci_clockevent_set_next_event_cmp() local 161 curr_time = davinci_clockevent_read(clockevent, in davinci_clockevent_set_next_event_cmp() 164 clockevent->cmp_off, curr_time + cycles); in davinci_clockevent_set_next_event_cmp()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/ |
D | 4965-rs.c | 235 il4965_rs_tl_rm_old_stats(struct il_traffic_load *tl, u32 curr_time) in il4965_rs_tl_rm_old_stats() argument 238 u32 oldest_time = curr_time - TID_MAX_TIME_DIFF; in il4965_rs_tl_rm_old_stats() 258 u32 curr_time = jiffies_to_msecs(jiffies); in il4965_rs_tl_add_packet() local 275 curr_time -= curr_time % TID_ROUND_VALUE; in il4965_rs_tl_add_packet() 280 tl->time_stamp = curr_time; in il4965_rs_tl_add_packet() 287 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in il4965_rs_tl_add_packet() 293 il4965_rs_tl_rm_old_stats(tl, curr_time); in il4965_rs_tl_add_packet() 311 u32 curr_time = jiffies_to_msecs(jiffies); in il4965_rs_tl_get_load() local 321 curr_time -= curr_time % TID_ROUND_VALUE; in il4965_rs_tl_get_load() 326 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in il4965_rs_tl_get_load() [all …]
|
/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 337 curr_time = jiffies; in PS_RDY_CHECK() 338 delta_time = curr_time - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK()
|
D | rtw_mlme.c | 137 unsigned long curr_time; in _rtw_free_network() local 147 curr_time = jiffies; in _rtw_free_network() 152 delta_time = (curr_time - pnetwork->last_scanned) / HZ; in _rtw_free_network()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rs.c | 249 static void rs_tl_rm_old_stats(struct iwl_traffic_load *tl, u32 curr_time) in rs_tl_rm_old_stats() argument 252 u32 oldest_time = curr_time - TID_MAX_TIME_DIFF; in rs_tl_rm_old_stats() 273 u32 curr_time = jiffies_to_msecs(jiffies); in rs_tl_add_packet() local 290 curr_time -= curr_time % TID_ROUND_VALUE; in rs_tl_add_packet() 295 tl->time_stamp = curr_time; in rs_tl_add_packet() 302 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in rs_tl_add_packet() 308 rs_tl_rm_old_stats(tl, curr_time); in rs_tl_add_packet() 355 u32 curr_time = jiffies_to_msecs(jiffies); in rs_tl_get_load() local 365 curr_time -= curr_time % TID_ROUND_VALUE; in rs_tl_get_load() 370 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in rs_tl_get_load() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_selftests.c | 1758 u64 start_time, curr_time = 0; in stmmac_test_tbs() local 1781 stmmac_get_systime(priv, priv->ptpaddr, &curr_time); in stmmac_test_tbs() 1784 if (!curr_time) { in stmmac_test_tbs() 1789 start_time = curr_time; in stmmac_test_tbs() 1790 curr_time += STMMAC_TBS_LT_OFFSET; in stmmac_test_tbs() 1793 attr.timestamp = curr_time; in stmmac_test_tbs() 1803 stmmac_get_systime(priv, priv->ptpaddr, &curr_time); in stmmac_test_tbs() 1806 if ((curr_time - start_time) < STMMAC_TBS_LT_OFFSET) in stmmac_test_tbs()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | alias_GUID.c | 712 u64 curr_time = ktime_get_boottime_ns(); in get_low_record_time_index() local 714 *resched_delay_sec = (low_record_time < curr_time) ? 0 : in get_low_record_time_index() 715 div_u64((low_record_time - curr_time), NSEC_PER_SEC); in get_low_record_time_index()
|
/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 365 curr_time = jiffies; in PS_RDY_CHECK() 367 delta_time = curr_time - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
D | rtl871x_mlme.c | 94 u32 curr_time, delta_time; in _free_network() local 102 curr_time = jiffies; in _free_network() 103 delta_time = (curr_time - (u32)pnetwork->last_scanned) / HZ; in _free_network()
|
/kernel/liteos_a/net/lwip-2.1/enhancement/src/ |
D | dhcps.c | 175 u32_t curr_time = sys_now(); in remove_stale_entries() local 180 if (dhcps->leasearr[i].leasetime < curr_time) { in remove_stale_entries()
|