Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\deadline.c Create Date:2022-07-28 09:40:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:init_dl_rq_bw_ratio

Proto:void init_dl_rq_bw_ratio(struct dl_rq *dl_rq)

Type:void

Parameter:

TypeParameterName
struct dl_rq *dl_rq
2501  If global_rt_runtime() == Single value that denotes runtime == period, ie unlimited time. Then
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  Else
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_SHIFT - RATIO_SHIFT
2507  extra_bw = to_ratio(global_rt_period(), global_rt_runtime())
Caller
NameDescribe
init_dl_rq
sched_dl_do_global