Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/x86/kernel/
A Dtsc.c82 data->cyc2ns_offset = this_cpu_read(cyc2ns.data[idx].cyc2ns_offset); in cyc2ns_read_begin()
125 ns = data.cyc2ns_offset; in cycles_2_ns()
160 data.cyc2ns_offset = ns_now - in __set_cyc2ns_scale()
969 this_cpu_write(cyc2ns.data[0].cyc2ns_offset, 0); in tsc_restore_sched_clock_state()
970 this_cpu_write(cyc2ns.data[1].cyc2ns_offset, 0); in tsc_restore_sched_clock_state()
975 per_cpu(cyc2ns.data[0].cyc2ns_offset, cpu) = offset; in tsc_restore_sched_clock_state()
976 per_cpu(cyc2ns.data[1].cyc2ns_offset, cpu) = offset; in tsc_restore_sched_clock_state()
/linux-6.3-rc2/arch/x86/include/asm/
A Dtimer.h32 u64 cyc2ns_offset; member
/linux-6.3-rc2/arch/x86/kernel/cpu/
A Dvmware.c152 ns -= vmware_cyc2ns.cyc2ns_offset; in vmware_sched_clock()
163 d->cyc2ns_offset = mul_u64_u32_shr(tsc_now, d->cyc2ns_mul, in vmware_cyc2ns_setup()
166 pr_info("using clock offset of %llu ns\n", d->cyc2ns_offset); in vmware_cyc2ns_setup()
/linux-6.3-rc2/arch/x86/events/
A Dcore.c2728 offset = data.cyc2ns_offset + __sched_clock_offset; in arch_perf_update_userpage()

Completed in 18 milliseconds