Function report |
Source Code:kernel\sched\cpuacct.c |
Create Date:2022-07-28 09:44:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:harge this task's execution time to its accounting group.* called with rq->lock held.
Proto:void cpuacct_charge(struct task_struct *tsk, u64 cputime)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tsk | |
| u64 | cputime |
| 341 | index = ... kernel mode |
| 342 | regs = task_pt_regs(tsk) |
| 344 | If regs && ser_mode(regs) determines whether a register set came from user* mode Then index = ... user mode |
| 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 |