Function report |
Source Code:include\linux\sched\loadavg.h |
Create Date:2022-07-28 05:40:50 |
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)
Proto:static inline unsigned long calc_load(unsigned long load, unsigned long exp, unsigned long active)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | load | |
unsigned long | exp | |
unsigned long | active |
34 | If active >= load Then newload += 1.0 as fixed-point - 1 |
37 | Return newload / 1.0 as fixed-point |
Name | Describe |
---|---|
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 |
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 |