| 函数逻辑报告 | 
| Source Code: kernel\sched\cputime.c | Create Date:2022-07-27 10:38:06 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Accumulate raw cputime values of dead tasks (sig->[us]time) and live* tasks (sum on group iteration) belonging to @tsk's group.
函数原型:void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct task_struct * | tsk | |
| struct task_cputime * | times | 
| 309 | 如果same_thread_group(当前进程, tsk)则Return accounted runtime for the task.* In case the task is currently running, return the runtime plus current's* pending runtime that have not been accounted yet. | 
| 314 | nextseq等于0 | 
| 315 | 循环 | 
| 322 | for_each_thread(tsk, t) | 
| 323 | task_cputime(t, & utime, & stime) | 
| 329 | nextseq等于1 | 
| 名称 | 描述 | 
|---|---|
| thread_group_cputime_adjusted | |
| thread_group_start_cputime | hread_group_start_cputime - Start cputime and return a sample*@tsk: Task for which cputime needs to be started*@samples: Storage for time samples* The thread group cputime accouting is avoided when there are no posix* CPU timers armed | 
| __thread_group_cputime | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |