函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sugov_fast_switch

函数原型:static void sugov_fast_switch(struct sugov_policy *sg_policy, u64 time, unsigned int next_freq)

返回类型:void

参数:

类型参数名称
struct sugov_policy *sg_policy
u64time
unsigned intnext_freq
117  policy等于policy
120  如果非sugov_update_next_freq(sg_policy, time, next_freq)则返回
123  next_freq等于Pass a target to the cpufreq driver
124  如果非next_freq则返回
127  in kHz, only needed if cpufreq * governors are used 等于next_freq
129  如果trace_cpu_frequency_enabled()则
130  遍历CPU(cpu, Online CPUs only )
131  trace_cpu_frequency(next_freq, cpu)
调用者
名称描述
sugov_update_single
sugov_update_shared