Function report |
Source Code:arch\x86\kernel\cpu\mce\therm_throt.c |
Create Date:2022-07-28 08:04:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:thresh_event_valid
Proto:static int thresh_event_valid(int level, int event)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | level | |
| int | event |
| 377 | this_cpu = smp_processor_id() |
| 378 | pstate = per_cpu(thermal_state, this_cpu) |
| 379 | now = get_jiffies_64() |
| 381 | If level == PACKAGE_LEVEL Then state = If event == 0 Then pkg_thresh0 Else pkg_thresh1 |
| 384 | Else state = If event == 0 Then core_thresh0 Else core_thresh1 |
| 388 | If time_before64(now, next_check) Then Return 0 |
| 393 | Return 1 |
| Name | Describe |
|---|---|
| notify_package_thresholds | |
| notify_thresholds |
| 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 |