函数逻辑报告 |
Source Code:block\blk-iocost.c |
Create Date:2022-07-27 19:22:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Scale @abs_cost to the inverse of @hw_inuse. The lower the hierarchical* weight, the more expensive each IO. Must round up.
函数原型:static u64 abs_cost_to_cost(u64 abs_cost, unsigned int hw_inuse)
返回类型:u64
参数:
类型 | 参数 | 名称 |
---|---|---|
u64 | abs_cost | |
unsigned int | hw_inuse |
661 | 返回:DIV64_U64_ROUND_UP(abs_cost * HWEIGHT_WHOLE, hw_inuse) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |