Function report |
Source Code:block\blk-iolatency.c |
Create Date:2022-07-28 17:45:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:latency_stat_record_time
Proto:static inline void latency_stat_record_time(struct iolatency_grp *iolat, u64 req_time)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct iolatency_grp * | iolat | |
u64 | req_time |
216 | stat = get_cpu_ptr(stats) |
217 | If ssd Then |
218 | If req_time >= min_lat_nsec Then missed++ |
220 | total++ |
221 | Else blk_rq_stat_add( & rqs, req_time) |
223 | put_cpu_ptr(stat) |
Name | Describe |
---|---|
iolatency_record_time |
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 |