Function report |
Source Code:block\blk-iocost.c |
Create Date:2022-07-28 17:47:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:latency Qos params changed, update period_us and all the dependent params
Proto:static void ioc_refresh_period_us(struct ioc *ioc)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct ioc * | ioc |
| 686 | lockdep_assert_held( & lock) |
| 692 | Else |
| 705 | If ppm Then multi = max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u32, (MILLION - ppm) / 50000, 2) |
| 707 | Else multi = 2 |
| 714 | margin_us = period_us * MARGIN_PCT / 100 |
| 715 | inuse_margin_vtime = DIV64_U64_ROUND_UP(period_us * VTIME_PER_USEC * INUSE_MARGIN_PCT, 100) |
| Name | Describe |
|---|---|
| ioc_refresh_params |
| 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 |