Function report |
Source Code:arch\x86\kernel\tsc.c |
Create Date:2022-07-28 07:46:29 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:If ART is present detect the numerator:denominator to convert to TSC
Proto:static void __init detect_art(void)
Type:void
Parameter:Nothing
| 1036 | If Maximum supported CPUID level, -1=no CPUID: < ART_CPUID_LEAF Then Return |
| 1043 | If boot_cpu_has(Running on a hypervisor ) || Not boot_cpu_has(TSC does not stop in C states ) || Not boot_cpu_has(TSC adjustment MSR 0x3B ) || tsc_async_resets Then Return |
| 1049 | cpuid(ART_CPUID_LEAF, & art_to_tsc_denominator, & art_to_tsc_numerator, unused, unused + 1) |
| 1052 | If art_to_tsc_denominator < ART_MIN_DENOMINATOR Then Return |
| Name | Describe |
|---|---|
| tsc_init |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |