函数逻辑报告 |
Source Code:kernel\sched\loadavg.c |
Create Date:2022-07-27 10:37:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:alc_load - update the avenrun load estimates 10 ticks after the* CPUs have updated calc_load_tasks.* Called from the global timer code.
函数原型:void calc_global_load(unsigned long ticks)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | ticks |
356 | 如果time_before(jiffies, sample_window + 10)则返回 |
362 | delta等于calc_load_nohz_read() |
367 | active等于如果active大于0则active乘1.0 as fixed-point 否则0 |
369 | avenrun[0]等于a1 = a0 * e + a * (1 - e) |
370 | avenrun[1]等于a1 = a0 * e + a * (1 - e) |
371 | avenrun[2]等于a1 = a0 * e + a * (1 - e) |
379 | calc_global_nohz() |
名称 | 描述 |
---|---|
do_timer | 更新 jiffies计数 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |