函数逻辑报告 |
Source Code:kernel\sched\cpufreq_schedutil.c |
Create Date:2022-07-27 10:45:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_next_freq - Compute a new frequency for a given cpufreq policy
函数原型:static unsigned int get_next_freq(struct sugov_policy *sg_policy, unsigned long util, unsigned long max)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sugov_policy * | sg_policy | |
unsigned long | util | |
unsigned long | max |
173 | freq等于如果arch_scale_freq_invariant()则max_freq否则 in kHz, only needed if cpufreq * governors are used |
176 | freq等于map_util_freq(util, freq, max) |
178 | 如果freq恒等于cached_raw_freq且非need_freq_update则返回:next_freq |
181 | need_freq_update = false |
182 | cached_raw_freq等于freq |
183 | 返回:cpufreq_driver_resolve_freq(policy, freq) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |