函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mce\therm_throt.c |
Create Date:2022-07-27 09:04:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:thresh_event_valid
函数原型:static int thresh_event_valid(int level, int event)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | level | |
int | event |
378 | pstate等于per_cpu(thermal_state, this_cpu) |
379 | now等于get_jiffies_64() |
381 | 如果level恒等于PACKAGE_LEVEL则state等于如果event恒等于0则pkg_thresh0否则pkg_thresh1 |
384 | 否则state等于如果event恒等于0则core_thresh0否则core_thresh1 |
388 | 如果time_before64(now, next_check)则返回:0 |
393 | 返回:1 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |