函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sched_rt_runtime_exceeded

函数原型:static int sched_rt_runtime_exceeded(struct rt_rq *rt_rq)

返回类型:int

参数:

类型参数名称
struct rt_rq *rt_rq
910  runtime等于sched_rt_runtime(rt_rq)
912  如果rt_throttled则返回:rt_rq_throttled(rt_rq)
915  如果runtime大于等于sched_rt_period(rt_rq)则返回:0
918  balance_runtime(rt_rq)
919  runtime等于sched_rt_runtime(rt_rq)
920  如果runtime恒等于Single value that denotes runtime == period, ie unlimited time.则返回:0
923  如果rt_time大于runtime
924  rt_b等于sched_rt_bandwidth(rt_rq)
931  rt_throttled等于1
932  printk_deferred_once("sched: RT throttling activated\n")
933  否则
939  rt_time等于0
942  如果rt_rq_throttled(rt_rq)则
944  返回:1
948  返回:0
调用者
名称描述
update_curr_rtUpdate the current task's runtime statistics. Skip current tasks that* are not in our scheduling class.