Function report |
Source Code:arch\x86\kernel\tsc.c |
Create Date:2022-07-28 07:46:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:init_tsc_clocksource
Proto:static int __init init_tsc_clocksource(void)
Type:int
Parameter:Nothing
1366 | If Not boot_cpu_has(Time Stamp Counter ) || Not tsc_khz Then Return 0 |
1369 | If TSC can be unstable due to cpufreq or due to unsynced TSCs Then Go to unreg |
1372 | If tsc_clocksource_reliable || no_tsc_watchdog Then flags &= ~CLOCK_SOURCE_MUST_VERIFY |
1375 | If boot_cpu_has(TSC doesn't stop in S3 state ) Then flags |= CLOCK_SOURCE_SUSPEND_NONSTOP |
1382 | If boot_cpu_has(TSC has known frequency ) Then |
1386 | unreg : |
1388 | Return 0 |
1392 | Return 0 |
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 |