Function report |
Source Code:kernel\sched\rt.c |
Create Date:2022-07-28 09:39:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Update the current task's runtime statistics. Skip current tasks that* are not in our scheduling class.
Proto:static void update_curr_rt(struct rq *rq)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct rq * | rq |
962 | If sched_class != rt_sched_class Then Return |
965 | now = rq_clock_task(rq) |
966 | delta_exec = now - exec_start |
967 | If Value for the false possibility is greater at compile time((s64)delta_exec <= 0) Then Return |
970 | 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)) |
973 | sum_exec_runtime += delta_exec |
976 | exec_start = now |
979 | If Not rt_bandwidth_enabled() Then Return |
983 | rt_rq = rt_rq_of_se(rt_se) |
986 | raw_spin_lock( & Nests inside the rq lock: ) |
987 | rt_time += delta_exec |
990 | raw_spin_unlock( & Nests inside the rq lock: ) |
Name | Describe |
---|---|
dequeue_task_rt | |
put_prev_task_rt | |
task_tick_rt | scheduler tick hitting a task of our scheduling class |
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 |