Home
last modified time | relevance | path

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

/linux-5.19.10/arch/x86/kernel/
Dtsc.c80 data->cyc2ns_offset = this_cpu_read(cyc2ns.data[idx].cyc2ns_offset); in cyc2ns_read_begin()
123 ns = data.cyc2ns_offset; in cycles_2_ns()
158 data.cyc2ns_offset = ns_now - in __set_cyc2ns_scale()
954 this_cpu_write(cyc2ns.data[0].cyc2ns_offset, 0); in tsc_restore_sched_clock_state()
955 this_cpu_write(cyc2ns.data[1].cyc2ns_offset, 0); in tsc_restore_sched_clock_state()
960 per_cpu(cyc2ns.data[0].cyc2ns_offset, cpu) = offset; in tsc_restore_sched_clock_state()
961 per_cpu(cyc2ns.data[1].cyc2ns_offset, cpu) = offset; in tsc_restore_sched_clock_state()
/linux-5.19.10/arch/x86/include/asm/
Dtimer.h32 u64 cyc2ns_offset; member
/linux-5.19.10/arch/x86/kernel/cpu/
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-5.19.10/arch/x86/events/
Dcore.c2744 offset = data.cyc2ns_offset + __sched_clock_offset; in arch_perf_update_userpage()