函数逻辑报告 |
Source Code:include\linux\sched\cputime.h |
Create Date:2022-07-27 06:42:33 |
| Last Modify:2021-07-28 12:50:14 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:account_group_exec_runtime - Maintain exec runtime for a thread group
函数原型:static inline void account_group_exec_runtime(struct task_struct *tsk, unsigned long long ns)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | tsk | |
| unsigned long long | ns |
| 173 | cputimer等于The following are functions that support scheduler-internal time accounting.* These functions are generally called at the timer tick. None of this depends* on CONFIG_SCHEDSTATS. |
| 175 | 如果非cputimer则返回 |
| 178 | atomic64_add(ns, & sum_exec_runtime) |
| 名称 | 描述 |
|---|---|
| update_curr | 更新当前进程运行时间,包括虚拟运行时间 |
| update_curr_rt | Update the current task's runtime statistics. Skip current tasks that* are not in our scheduling class. |
| update_curr_dl | Update the current task's runtime statistics (provided it is still* a -deadline task and has not been removed from the dl_rq). |
| put_prev_task_stop |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |