Function report |
Source Code:kernel\acct.c |
Create Date:2022-07-28 11:01:08 |
| Last Modify:2020-03-17 15:14:29 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:encode_comp2_t
Proto:static comp2_t encode_comp2_t(u64 value)
Type:comp2_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| u64 | value |
| 361 | exp = value > Maximum fractional value. >> 1 |
| 362 | rnd = 0 |
| 363 | When value > Maximum fractional value. cycle |
| 372 | If rnd && ++value > Maximum fractional value. Then |
| 377 | If exp > Maximum exponent. Then |
| 379 | Return (1ul << 20 bit mantissa. + 5 bit base 2 exponent. - 1 ) - 1 |
| 380 | Else |
| 381 | Return value & Maximum fractional value. >> 1 | exp << 20 bit mantissa. - 1 |
| 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 |