Function report |
Source Code:block\blk-iocost.c |
Create Date:2022-07-28 17:48:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rns usage with margin added if surplus is large enough
Proto:static unsigned int surplus_adjusted_hweight_inuse(unsigned int usage, unsigned int hw_inuse)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | usage | |
| unsigned int | hw_inuse |
| 1331 | usage = DIV_ROUND_UP(usage * SURPLUS_SCALE_PCT, 100) |
| 1332 | usage += SURPLUS_SCALE_ABS |
| 1335 | If usage + SURPLUS_MIN_ADJ_DELTA > hw_inuse Then Return 0 |
| 1338 | Return usage |
| Name | Describe |
|---|---|
| ioc_timer_fn |
| 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 |