函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\deadline.c Create Date:2022-07-27 10:40:59
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_dl(struct rq *rq, struct task_struct *p, int queued)

返回类型:void

参数:

类型参数名称
struct rq *rq
struct task_struct *p
intqueued
1811  Update the current task's runtime statistics (provided it is still* a -deadline task and has not been removed from the dl_rq).
1813  update_dl_rq_load_avg(rq_clock_pelt(rq), rq, 1)
1819  如果hrtick_enabled(rq)且queued Remaining runtime for this instance 大于0且is_leftmost(p, & dl)则start_hrtick_dl(rq, p)