函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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 +

函数原型:unsigned long calc_load_n(unsigned long load, unsigned long exp, unsigned long active, unsigned int n)

返回类型:unsigned long

参数:

类型参数名称
unsigned longload
unsigned longexp
unsigned longactive
unsigned intn
160  返回:a1 = a0 * e + a * (1 - e)
调用者
名称描述
calc_avgs