Function report |
Source Code:arch\x86\kernel\tsc_msr.c |
Create Date:2022-07-28 07:46:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:MSR-based CPU/TSC frequency discovery for certain CPUs.* Set global "lapic_timer_period" to bus_clock_cycles/jiffy* Return processor base frequency in KHz, or 0 on failure.
Proto:unsigned long cpu_khz_from_msr(void)
Type:unsigned long
Parameter:Nothing
89 | id = x86_match_cpu(tsc_msr_cpu_ids) |
90 | If Not id Then Return 0 |
93 | freq_desc = driver_data |
97 | Else |
133 | Return res |
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 |