Function report |
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 activity | Download SCCT | Chinese |
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:
Type | Parameter | Name |
---|---|---|
unsigned long | load | |
unsigned long | exp | |
unsigned long | active | |
unsigned int | n |
160 | Return a1 = a0 * e + a * (1 - e) |
Name | Describe |
---|---|
calc_avgs |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |