Function report |
Source Code:block\blk-stat.c |
Create Date:2022-07-28 17:13:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blk_stat_add
Proto:void blk_stat_add(struct request *rq, u64 now)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct request * | rq | |
u64 | now |
59 | value = If now >= Time that I/O was submitted to the device. Then now - Time that I/O was submitted to the device. Else 0 |
61 | blk_throtl_stat_add(rq, value) |
66 | If Not lk_stat_is_active() - Check if a block statistics callback is currently* gathering statistics.*@cb: The callback. Then Continue |
70 | If bucket < 0 Then Continue |
74 | blk_rq_stat_add(stat, value) |
76 | put_cpu() |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |