Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\loadavg.c Create Date:2022-07-28 09:37:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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 +

Proto:unsigned long calc_load_n(unsigned long load, unsigned long exp, unsigned long active, unsigned int n)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longload
unsigned longexp
unsigned longactive
unsigned intn
160  Return a1 = a0 * e + a * (1 - e)
Caller
NameDescribe
calc_avgs