函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mce\intel.c |
Create Date:2022-07-27 09:02:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:cmci_storm_detect
函数原型:static bool cmci_storm_detect(void)
返回类型:bool
参数:无
| 217 | cnt等于Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(cmci_storm_cnt) |
| 218 | ts等于Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(cmci_time_stamp) |
| 222 | 如果Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(cmci_storm_state)不等于CMCI_STORM_NONE则返回:true |
| 225 | 如果time_before_eq(now, ts + CMCI_STORM_INTERVAL)则 |
| 226 | cnt自加 |
| 227 | 否则 |
| 228 | cnt等于1 |
| 233 | 如果cnt小于等于CMCI_STORM_THRESHOLD则返回:false |
| 236 | cmci_toggle_interrupt_mode(false) |
| 238 | r等于atomic_add_return(1, & cmci_storm_on_cpus) |
| 244 | 返回:true |
| 名称 | 描述 |
|---|---|
| intel_threshold_interrupt | The interrupt handler. This is called on every event.* Just call the poller directly to log any events.* This could in theory increase the threshold under high load,* but doesn't for now. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |