Function report |
Source Code:kernel\sched\cputime.c |
Create Date:2022-07-28 09:37:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Accumulate raw cputime values of dead tasks (sig->[us]time) and live* tasks (sum on group iteration) belonging to @tsk's group.
Proto:void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk | |
struct task_cputime * | times |
295 | sig = Signal handlers: |
314 | nextseq = 0 |
315 | Do |
322 | for_each_thread(tsk, t) |
323 | task_cputime(t, & utime, & stime) |
326 | sum_exec_runtime += read_sum_exec_runtime(t) |
329 | nextseq = 1 |
Name | Describe |
---|---|
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 |
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 |