函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:This function initializes the sched_dl_entity of a newly becoming* SCHED_DEADLINE task.* Only the static values are considered here, the actual runtime and the* absolute deadline will be properly calculated when the task is enqueued

函数原型:void __setparam_dl(struct task_struct *p, const struct sched_attr *attr)

返回类型:void

参数:

类型参数名称
struct task_struct *p
const struct sched_attr *attr
2614  dl_se等于dl
2616  Maximum runtime for each instance 等于SCHED_DEADLINE
2617  Relative deadline of each instance 等于sched_deadline
2618  Separation of two instances (period) 等于如果sched_period否则 Relative deadline of each instance
2619  Specifying the scheduler behaviour 等于sched_flags
2620  dl_runtime / dl_period 等于to_ratio( Separation of two instances (period) , Maximum runtime for each instance )
2621  dl_runtime / dl_deadline 等于to_ratio( Relative deadline of each instance , Maximum runtime for each instance )
调用者
名称描述
__setscheduler_params