Function report |
Source Code:arch\x86\kernel\tsc_sync.c |
Create Date:2022-07-28 08:25:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:tsc_store_and_check_tsc_adjust
Proto:bool __init tsc_store_and_check_tsc_adjust(bool bootcpu)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| bool | bootcpu |
| 116 | cur = this_cpu_ptr( & tsc_adjust) |
| 119 | If Not boot_cpu_has(TSC adjustment MSR 0x3B ) Then Return false |
| 123 | If check_tsc_unstable() Then Return false |
| 126 | rdmsrl(MSR_IA32_TSC_ADJUST, bootval) |
| 129 | tsc_sanitize_first_cpu(cur, bootval, smp_processor_id(), bootcpu) |
| 130 | Return false |
| Name | Describe |
|---|---|
| tsc_enable_sched_clock |
| 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 |