Function report |
Source Code:kernel\sched\stop_task.c |
Create Date:2022-07-28 09:43:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:put_prev_task_stop
Proto:static void put_prev_task_stop(struct rq *rq, struct task_struct *prev)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct rq * | rq | |
struct task_struct * | prev |
68 | delta_exec = rq_clock_task(rq) - exec_start |
69 | If Value for the false possibility is greater at compile time((s64)delta_exec < 0) Then delta_exec = 0 |
72 | schedstat_set(exec_max, max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(exec_max, delta_exec)) |
75 | sum_exec_runtime += delta_exec |
78 | exec_start = rq_clock_task(rq) |
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 |