函数逻辑报告 |
Source Code:include\linux\sched\loadavg.h |
Create Date:2022-07-27 06:42:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:a1 = a0 * e + a * (1 - e)
函数原型:static inline unsigned long calc_load(unsigned long load, unsigned long exp, unsigned long active)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | load | |
unsigned long | exp | |
unsigned long | active |
34 | 如果active大于等于load则newload加等于1.0 as fixed-point 减1 |
37 | 返回:newload除1.0 as fixed-point |
名称 | 描述 |
---|---|
calc_load_n | a1 = a0 * e + a * (1 - e)* a2 = a1 * e + a * (1 - e)* = (a0 * e + a * (1 - e)) * e + a * (1 - e)* = a0 * e^2 + a * (1 - e) * (1 + e)* a3 = a2 * e + a * (1 - e)* = (a0 * e^2 + a * (1 - e) * (1 + e)) * e + a * (1 - e)* = a0 * e^3 + a * (1 - e) * (1 + e + |
calc_global_load | alc_load - update the avenrun load estimates 10 ticks after the* CPUs have updated calc_load_tasks.* Called from the global timer code. |
calc_avgs | |
iolat_update_total_lat_avg |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |