函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:If ART is present detect the numerator:denominator to convert to TSC

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

返回类型:void

参数:

1036  如果Maximum supported CPUID level, -1=no CPUID: 小于ART_CPUID_LEAF则返回
1043  如果boot_cpu_has(Running on a hypervisor )或非boot_cpu_has(TSC does not stop in C states )或非boot_cpu_has(TSC adjustment MSR 0x3B )或tsc_async_resets则返回
1049  cpuid(ART_CPUID_LEAF, & art_to_tsc_denominator, & art_to_tsc_numerator, unused, unused + 1)
1052  如果art_to_tsc_denominator小于ART_MIN_DENOMINATOR则返回
1055  rdmsrl(MSR_IA32_TSC_ADJUST, art_to_tsc_offset)
1058  setup_force_cpu_cap(Always running timer (ART) )
调用者
名称描述
tsc_init