Function report |
Source Code:block\blk-stat.c |
Create Date:2022-07-28 17:13:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:src is a per-cpu stat, mean isn't initialized
Proto:void blk_rq_stat_sum(struct blk_rq_stat *dst, struct blk_rq_stat *src)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct blk_rq_stat * | dst | |
| struct blk_rq_stat * | src |
| 31 | If Not nr_samples Then Return |
| 34 | min = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(min, min) |
| 35 | max = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(max, max) |
| 40 | nr_samples += nr_samples |
| Name | Describe |
|---|---|
| blk_stat_timer_fn | |
| latency_stat_sum |
| 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 |