Function report | 
Source Code:kernel\acct.c | 
Create Date:2022-07-28 11:01:07 | 
| Last Modify:2020-03-17 15:14:29 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:encode_comp_t
Proto:static comp_t encode_comp_t(unsigned long value)
Type:comp_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | value | 
| 320 | When value > Maximum fractional value. cycle | 
| 321 | rnd = value & 1 << Base 8 (3 bit) exponent. - 1 | 
| 322 | value >>= Base 8 (3 bit) exponent. | 
| 323 | exp++ | 
| 329 | If rnd && ++value > Maximum fractional value. Then | 
| 330 | value >>= Base 8 (3 bit) exponent. | 
| 331 | exp++ | 
| 337 | exp <<= 13 bit mantissa. | 
| 339 | Return exp | 
| Name | Describe | 
|---|---|
| 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 | 
| 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  |