函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aperfmperf_get_khz

函数原型:unsigned int aperfmperf_get_khz(int cpu)

返回类型:unsigned int

参数:

类型参数名称
intcpu
83  如果非TSC clocks / usec, not used here 则返回:0
86  如果非boot_cpu_has(P-State hardware coordination feedback capability (APERF/MPERF MSRs) )则返回:0
89  如果非housekeeping_cpu(cpu, HK_FLAG_MISC)则返回:0
92  aperfmperf_snapshot_cpu(cpu, ktime_get(), true)
93  返回:per_cpu(khz, cpu)
调用者
名称描述
show_cpuinfo