Function report |
Source Code:arch\x86\kernel\tsc.c |
Create Date:2022-07-28 07:46:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cpu_khz_from_cpuid
Proto:static unsigned long cpu_khz_from_cpuid(void)
Type:unsigned long
Parameter:Nothing
| 692 | If CPU vendor != X86_VENDOR_INTEL Then Return 0 |
| 695 | If Maximum supported CPUID level, -1=no CPUID: < 0x16 Then Return 0 |
| 698 | eax_base_mhz = ebx_max_mhz = ecx_bus_mhz = edx = 0 |
| 700 | cpuid(0x16, & eax_base_mhz, & ebx_max_mhz, & ecx_bus_mhz, & edx) |
| 702 | Return eax_base_mhz * 1000 |
| Name | Describe |
|---|---|
| native_calibrate_cpu_early | ative_calibrate_cpu_early - can calibrate the cpu early in boot |
| 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 |