函数逻辑报告 |
Source Code:block\blk-mq.c |
Create Date:2022-07-27 18:44:56 |
Last Modify:2020-03-17 23:18:05 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Update dispatch busy with the Exponential Weighted Moving Average(EWMA):* - EWMA is one simple way to compute running average value* - weight(7/8 and 1/8) is applied so that it can decrease exponentially* - take 4 as factor for avoiding to get too
函数原型:static void blk_mq_update_dispatch_busy(struct blk_mq_hw_ctx *hctx, bool busy)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct blk_mq_hw_ctx * | hctx | |
bool | busy |
1155 | 如果elevator则返回 |
1158 | ewma等于@dispatch_busy: Number used by blk_mq_update_dispatch_busy() to* decide if the hw_queue is busy using Exponential Weighted Moving* Average algorithm. |
1163 | ewma乘等于BLK_MQ_DISPATCH_BUSY_EWMA_WEIGHT减1 |
1164 | 如果busy则ewma加等于1左移BLK_MQ_DISPATCH_BUSY_EWMA_FACTOR位 |
1168 | @dispatch_busy: Number used by blk_mq_update_dispatch_busy() to* decide if the hw_queue is busy using Exponential Weighted Moving* Average algorithm.等于ewma |
名称 | 描述 |
---|---|
blk_mq_dispatch_rq_list | Returns true if we did some work AND can potentially do more. |
__blk_mq_issue_directly |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |