函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\tsc.c Create Date:2022-07-27 08:46:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Secondary CPUs do not run through tsc_init(), so set up* all the scale factors for all CPUs, assuming the same* speed as the bootup CPU.

函数原型:static void __init cyc2ns_init_secondary_cpus(void)

返回类型:void

参数:

193  this_cpu等于当前cpu ID()
194  c2n等于this_cpu_ptr( & cyc2ns)
195  data等于 0 + 2*16 = 32
197  遍历可用CPU(cpu)
198  如果cpu不等于this_cpu
200  c2n等于per_cpu_ptr( & cyc2ns, cpu)
201  0 + 2*16 = 32 [0]等于data[0]
202  0 + 2*16 = 32 [1]等于data[1]
调用者
名称描述
tsc_init