函数逻辑报告 | 
Source Code:kernel\acct.c | 
Create Date:2022-07-27 12:02:16 | 
| Last Modify:2020-03-17 15:14:29 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:encode_comp2_t
函数原型:static comp2_t encode_comp2_t(u64 value)
返回类型:comp2_t
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| u64 | value | 
| 361 | exp等于value大于Maximum fractional value. 右移1位 | 
| 362 | rnd等于0 | 
| 363 | 当value大于Maximum fractional value. 循环 | 
| 372 | 如果rnd且value先自加大于Maximum fractional value. 则 | 
| 377 | 如果exp大于Maximum exponent. 则 | 
| 379 | 返回:1ul左移20 bit mantissa. 加5 bit base 2 exponent. 减1位的值减1 | 
| 380 | 否则 | 
| 381 | 返回:value按位与Maximum fractional value. 右移1位按位或exp左移20 bit mantissa. 减1位 | 
| 名称 | 描述 | 
|---|---|
| fill_ac | Write an accounting entry for an exiting process* The acct_process() call is the workhorse of the process* accounting system. The struct acct is built here and then written* into the accounting file. This function should only be called from | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |