函数逻辑报告 |
Source Code:kernel\delayacct.c |
Create Date:2022-07-27 12:53:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__delayacct_add_tsk
函数原型:int __delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct taskstats * | d | |
struct task_struct * | tsk |
92 | task_cputime(tsk, & utime, & stime) |
97 | task_cputime_scaled(tsk, & utimescaled, & stimescaled) |
99 | tmp加等于utimescaled加stimescaled |
100 | scaled cpu_run_real_total 等于如果tmp小于 scaled cpu_run_real_total 则0否则tmp |
109 | t3等于sum_exec_runtime |
113 | tmp等于cpu_delay_total加t2 |
114 | cpu_delay_total等于如果tmp小于cpu_delay_total则0否则tmp |
122 | raw_spin_lock_irqsave( & lock, flags) |
124 | blkio_delay_total等于如果tmp小于blkio_delay_total则0否则tmp |
126 | swapin_delay_total等于如果tmp小于swapin_delay_total则0否则tmp |
128 | freepages_delay_total等于如果tmp小于freepages_delay_total则0否则tmp |
130 | thrashing_delay_total等于如果tmp小于thrashing_delay_total则0否则tmp |
131 | Delay waiting for synchronous block I/O to complete * does not account for delays in I/O submission加等于blkio_count |
135 | raw_spin_unlock_irqrestore( & lock, flags) |
137 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |