Function report |
Source Code:arch\x86\kernel\cpu\mce\therm_throt.c |
Create Date:2022-07-28 08:04:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_therm_status
Proto:static void get_therm_status(int level, bool *proc_hot, u8 *temp)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | level | |
| bool * | proc_hot | |
| u8 * | temp |
| 224 | If level == CORE_LEVEL Then msr = MSR_IA32_THERM_STATUS |
| 226 | Else msr = MSR_IA32_PACKAGE_THERM_STATUS |
| 230 | If msr_val & THERM_STATUS_PROCHOT_LOG Then * proc_hot = true |
| 232 | Else * proc_hot = false |
| Name | Describe |
|---|---|
| throttle_active_work | |
| therm_throt_process | herm_throt_process - Process thermal throttling event from interrupt*@curr: Whether the condition is current or not (boolean), since the* thermal interrupt normally gets called both when the thermal* event begins and once the event has ended |
| 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 |