Function report |
Source Code:kernel\sched\cputime.c |
Create Date:2022-07-28 09:37:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:void account_system_index_time(struct task_struct *p, u64 cputime, enum cpu_usage_stat index)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | p | |
u64 | cputime | |
enum cpu_usage_stat | index |
172 | task_group_account_field(p, index, cputime) |
175 | acct_account_cputime(p) |
Name | Describe |
---|---|
account_system_time | Account system CPU time to a process.*@p: the process that the CPU time gets accounted to*@hardirq_offset: the offset to subtract from hardirq_count()*@cputime: the CPU time spent in kernel space since the last update |
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 |