函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:init_dl_rq_bw_ratio

函数原型:void init_dl_rq_bw_ratio(struct dl_rq *dl_rq)

返回类型:void

参数:

类型参数名称
struct dl_rq *dl_rq
2501  如果global_rt_runtime()恒等于Single value that denotes runtime == period, ie unlimited time.
2502  Inverse of the fraction of CPU utilization that can be reclaimed* by the GRUB algorithm.等于1左移RATIO_SHIFT
2503  extra_bw等于1左移BW_SHIFT
2504  否则
2505  Inverse of the fraction of CPU utilization that can be reclaimed* by the GRUB algorithm.等于to_ratio(global_rt_runtime(), global_rt_period())右移BW_SHIFTRATIO_SHIFT
2507  extra_bw等于to_ratio(global_rt_period(), global_rt_runtime())
调用者
名称描述
init_dl_rq
sched_dl_do_global