Function report |
Source Code:kernel\sched\cputime.c |
Create Date:2022-07-28 09:37:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:task_group_account_field
Proto:static inline void task_group_account_field(struct task_struct *p, int index, u64 tmp)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | p | |
| int | index | |
| u64 | tmp |
| 107 | __this_cpu_add(cpustat[index], tmp) |
| 109 | cgroup_account_cputime_field(p, index, tmp) |
| Name | Describe |
|---|---|
| account_user_time | Account user CPU time to a process.*@p: the process that the CPU time gets accounted to*@cputime: the CPU time spent in user space since the last update |
| account_system_index_time | Account system CPU time to a process and desired cpustat field*@p: the process that the CPU time gets accounted to*@cputime: the CPU time spent in kernel space since the last update*@index: pointer to cpustat field that has to be updated |
| 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 |