Home
last modified time | relevance | path

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

/arch/mips/vdso/
Dgettimeofday.c122 u64 cycle_now, delta, nsec; in get_ns() local
127 cycle_now = read_r4k_count(); in get_ns()
134 delta = (cycle_now - data->cs_cycle_last) & data->cs_mask; in get_ns()
/arch/arm/vdso/
Dvgettimeofday.c123 u64 cycle_now; in get_ns() local
126 cycle_now = arch_counter_get_cntvct(); in get_ns()
128 cycle_delta = (cycle_now - vdata->cs_cycle_last) & vdata->cs_mask; in get_ns()
/arch/x86/kvm/
Dx86.c1426 static inline u64 vgettsc(cycle_t *cycle_now) in vgettsc() argument
1431 *cycle_now = read_tsc(); in vgettsc()
1433 v = (*cycle_now - gtod->clock.cycle_last) & gtod->clock.mask; in vgettsc()
1437 static int do_monotonic_boot(s64 *t, cycle_t *cycle_now) in do_monotonic_boot() argument
1448 ns += vgettsc(cycle_now); in do_monotonic_boot()
1458 static bool kvm_get_time_and_clockread(s64 *kernel_ns, cycle_t *cycle_now) in kvm_get_time_and_clockread() argument
1464 return do_monotonic_boot(kernel_ns, cycle_now) == VCLOCK_TSC; in kvm_get_time_and_clockread()