Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sugov_get_util

Proto:static unsigned long sugov_get_util(struct sugov_cpu *sg_cpu)

Type:unsigned long

Parameter:

TypeParameterName
struct sugov_cpu *sg_cpu
294  rq = cpu_rq(cpu)
295  util = cpu_util_cfs(rq)
296  max = arch_scale_cpu_capacity(cpu)
298  max = max
299  bw_dl = cpu_bw_dl(rq)
301  Return This function computes an effective utilization for the given CPU, to be* used for frequency selection given the linear relation: f = u * f_max
Caller
NameDescribe
sugov_update_single
sugov_next_freq_shared