Function report | 
Source Code:block\blk-iocost.c | 
Create Date:2022-07-28 17:46:48 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Scale @abs_cost to the inverse of @hw_inuse. The lower the hierarchical* weight, the more expensive each IO. Must round up.
Proto:static u64 abs_cost_to_cost(u64 abs_cost, unsigned int hw_inuse)
Type:u64
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| u64 | abs_cost | |
| unsigned int | hw_inuse | 
| 661 | Return DIV64_U64_ROUND_UP(abs_cost * HWEIGHT_WHOLE, hw_inuse) | 
| Name | Describe | 
|---|---|
| iocg_wake_fn | |
| iocg_kick_waitq | |
| iocg_kick_delay | |
| ioc_rqos_throttle | |
| ioc_rqos_merge | 
| 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  |