函数逻辑报告 |
Source Code:kernel\irq\timings.c |
Create Date:2022-07-27 11:12:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__irq_timings_next_event
函数原型:static u64 __irq_timings_next_event(struct irqt_stat *irqs, int irq, u64 now)
返回类型:u64
参数:
类型 | 参数 | 名称 |
---|---|---|
struct irqt_stat * | irqs | |
int | irq | |
u64 | now |
386 | 如果now减last_ts大于等于NSEC_PER_SEC则 |
396 | period_max等于如果count大于3乘PREDICTION_PERIOD_MAX则PREDICTION_PERIOD_MAX否则count除3 |
403 | 如果period_max小于等于PREDICTION_PERIOD_MIN则返回:U64_MAX |
409 | count等于如果count小于IRQ_TIMINGS_SIZE则count否则IRQ_TIMINGS_SIZE |
412 | start等于如果count小于IRQ_TIMINGS_SIZE则0否则count按位与IRQ_TIMINGS_MASK |
422 | index等于start加i按位与IRQ_TIMINGS_MASK |
424 | timings[i]等于circ_timings[index] |
名称 | 描述 |
---|---|
irq_timings_next_event | q_timings_next_event - Return when the next event is supposed to arrive* During the last busy cycle, the number of interrupts is incremented* and stored in the irq_timings structure |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |