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:set_cyc2ns_scale

Proto:static void set_cyc2ns_scale(unsigned long khz, int cpu, unsigned long long tsc_now)

Type:void

Parameter:

TypeParameterName
unsigned longkhz
intcpu
unsigned long longtsc_now
165  local_irq_save(flags)
166  sched_clock_idle_sleep_event()
168  If khz Then __set_cyc2ns_scale(khz, cpu, tsc_now)
171  sched_clock_idle_wakeup_event()
172  local_irq_restore(flags)
Caller
NameDescribe
tsc_refine_calibration_work