函数逻辑报告 |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-27 19:33:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bfq_update_has_short_ttime
函数原型:static void bfq_update_has_short_ttime(struct bfq_data *bfqd, struct bfq_queue *bfqq, struct bfq_io_cq *bic)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bfq_data * | bfqd | |
struct bfq_queue * | bfqq | |
struct bfq_io_cq * | bic |
5222 | bool has_short_ttime = true, state_changed |
5229 | 如果非bfq_bfqq_sync(bfqq)或bfq_class_idle(bfqq)或 maximum idling time 恒等于0则返回 |
5234 | 如果ime_is_after_eq_jiffies(a) return true if a is after or equal to jiffies(ime of last split + * Minimum idle period after which weight-raising may be * reactivated for a queue (in jiffies).)则返回 |
5242 | 如果atomic_read( & 活跃引用)恒等于0或bfq_sample_valid(umber of thinktime samples )且average process thinktime 大于 maximum idling time 则has_short_ttime = false |
5251 | 否则bfq_clear_bfqq_has_short_ttime(bfqq) |
名称 | 描述 |
---|---|
__bfq_insert_request | rns true if it causes the idle timer to be disabled |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |