Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\tsc.c Create Date:2022-07-28 07:46:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Initialize cyc2ns for boot cpu

Proto:static void __init cyc2ns_init_boot_cpu(void)

Type:void

Parameter:Nothing

180  c2n = this_cpu_ptr( & cyc2ns)
182  seqcount_init( & 32 + 4 = 36 )
183  __set_cyc2ns_scale(tsc_khz, smp_processor_id(), dtsc() - returns the current TSC without ordering constraints* rdtsc() returns the result of RDTSC as a 64-bit integer)
Caller
NameDescribe
tsc_enable_sched_clock