Function report |
Source Code:include\linux\sched\cputime.h |
Create Date:2022-07-28 05:40:41 |
Last Modify:2021-07-28 12:50:14 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:account_group_user_time - Maintain utime for a thread group
Proto:static inline void account_group_user_time(struct task_struct *tsk, u64 cputime)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk | |
u64 | cputime |
131 | 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. |
133 | If Not cputimer Then Return |
136 | atomic64_add(cputime, & utime) |
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_guest_time | Account guest CPU time to a process.*@p: the process that the CPU time gets accounted to*@cputime: the CPU time spent in virtual machine 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 |