函数逻辑报告 |
Source Code:kernel\acct.c |
Create Date:2022-07-27 12:02:19 |
Last Modify:2020-03-17 15:14:29 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static void fill_ac(acct_t *ac)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
acct_t * | ac |
428 | 长字符串复制 |
431 | run_time等于ktime_get_ns() |
432 | run_time减等于start_time |
434 | elapsed等于nsec_to_AHZ(run_time) |
438 | Elapsed Time 等于encode_comp_t(elapsed < (unsignedlong) - 1l ? (unsignedlong)elapsed : (unsignedlong) - 1l) |
451 | Process Creation Time 等于These interfaces are all based on the old timespec type* and should get replaced with the timespec64 based versions* over time so we can remove the file here.减elapsed |
456 | spin_lock_irq( & siglock) |
458 | Control Terminal 等于如果tty则old_encode_dev(tty_devnum(tty))否则0 |
459 | User Time 等于encode_comp_t(nsec_to_AHZ(ac_utime)) |
460 | System Time 等于encode_comp_t(nsec_to_AHZ(ac_stime)) |
465 | Exitcode 等于ac_exitcode |
466 | spin_unlock_irq( & siglock) |
名称 | 描述 |
---|---|
do_acct_process |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |