函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\rt.c Create Date:2022-07-27 10:40:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:scheduler tick hitting a task of our scheduling class

函数原型:static void task_tick_rt(struct rq *rq, struct task_struct *p, int queued)

返回类型:void

参数:

类型参数名称
struct rq *rq
struct task_struct *p
intqueued
2314  rt_se等于实时任务调度实体
2316  Update the current task's runtime statistics. Skip current tasks that* are not in our scheduling class.
2317  update_rt_rq_load_avg(rq_clock_pelt(rq), rq, 1)
2319  watchdog(rq, p)
2325  如果任务调度策略不等于SCHED_RR则返回
2328  如果time_slice先自减则返回
2331  time_slice等于sched_rr_timeslice
2338  如果链表前项不等于链表后项
2339  requeue_task_rt(rq, p, 0)
2340  标记当前进程需要被调度出去
2341  返回