函数逻辑报告 |
Source Code:block\blk-stat.c |
Create Date:2022-07-27 18:48:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:blk_stat_add
函数原型:void blk_stat_add(struct request *rq, u64 now)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request * | rq | |
u64 | now |
59 | value等于如果now大于等于 Time that I/O was submitted to the device. 则now减 Time that I/O was submitted to the device. 否则0 |
61 | blk_throtl_stat_add(rq, value) |
66 | 如果非lk_stat_is_active() - Check if a block statistics callback is currently* gathering statistics.*@cb: The callback.则继续下一循环 |
70 | 如果bucket小于0则继续下一循环 |
74 | blk_rq_stat_add(stat, value) |
76 | put_cpu() |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |