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:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sugov_fast_switch

Proto:static void sugov_fast_switch(struct sugov_policy *sg_policy, u64 time, unsigned int next_freq)

Type:void

Parameter:

TypeParameterName
struct sugov_policy *sg_policy
u64time
unsigned intnext_freq
117  policy = policy
120  If Not sugov_update_next_freq(sg_policy, time, next_freq) Then Return
123  next_freq = Pass a target to the cpufreq driver
124  If Not next_freq Then Return
127  in kHz, only needed if cpufreq * governors are used = next_freq
129  If trace_cpu_frequency_enabled() Then
130  for_each_cpu(cpu, Online CPUs only )
131  trace_cpu_frequency(next_freq, cpu)
Caller
NameDescribe
sugov_update_single
sugov_update_shared