Home
last modified time | relevance | path

Searched refs:cycle_now (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/kernel/time/
Dtimecounter.c33 u64 cycle_now, cycle_delta; in timecounter_read_delta() local
37 cycle_now = tc->cc->read(tc->cc); in timecounter_read_delta()
40 cycle_delta = (cycle_now - tc->cycle_last) & tc->cc->mask; in timecounter_read_delta()
47 tc->cycle_last = cycle_now; in timecounter_read_delta()
Dtimekeeping.c286 u64 cycle_now, delta; in timekeeping_get_delta() local
289 cycle_now = tk_clock_read(tkr); in timekeeping_get_delta()
292 delta = clocksource_delta(cycle_now, tkr->cycle_last, tkr->mask); in timekeeping_get_delta()
796 u64 cycle_now, delta; in timekeeping_forward_now() local
798 cycle_now = tk_clock_read(&tk->tkr_mono); in timekeeping_forward_now()
799 delta = clocksource_delta(cycle_now, tk->tkr_mono.cycle_last, tk->tkr_mono.mask); in timekeeping_forward_now()
800 tk->tkr_mono.cycle_last = cycle_now; in timekeeping_forward_now()
801 tk->tkr_raw.cycle_last = cycle_now; in timekeeping_forward_now()
1783 u64 cycle_now, nsec; in timekeeping_resume() local
1806 cycle_now = tk_clock_read(&tk->tkr_mono); in timekeeping_resume()
[all …]
Dclocksource.c835 u64 clocksource_stop_suspend_timing(struct clocksource *cs, u64 cycle_now) in clocksource_stop_suspend_timing() argument
848 now = cycle_now; in clocksource_stop_suspend_timing()
/linux-6.6.21/arch/arm/include/asm/vdso/
Dgettimeofday.h120 u64 cycle_now; in __arch_get_hw_counter() local
131 cycle_now = read_sysreg(CNTVCT); in __arch_get_hw_counter()
133 return cycle_now; in __arch_get_hw_counter()