函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\rt.h Create Date:2022-07-27 06:42:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:task_is_realtime

函数原型:static inline bool task_is_realtime(struct task_struct *tsk)

返回类型:bool

参数:

类型参数名称
struct task_struct *tsk
23  policy等于policy
25  如果policy恒等于SCHED_FIFOpolicy恒等于SCHED_RR则返回:true
27  如果policy恒等于SCHED_DEADLINE则返回:true
29  返回:false
调用者
名称描述
__hrtimer_init_sleeper
task_nice_ioclassThis is for the case where the task hasn't asked for a specific IO class.* Check for idle and rt task process, and return appropriate IO class.