Function report |
Source Code:kernel\sched\psi.c |
Create Date:2022-07-28 09:46:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:calc_avgs
Proto:static void calc_avgs(unsigned long avg[3], int missed_periods, u64 time, u64 period)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | avg | |
int | missed_periods | |
u64 | time | |
u64 | period |
288 | If missed_periods Then |
296 | pct *= 1.0 as fixed-point |
297 | avg[0] = a1 = a0 * e + a * (1 - e) |
298 | avg[1] = a1 = a0 * e + a * (1 - e) |
299 | avg[2] = a1 = a0 * e + a * (1 - e) |
Name | Describe |
---|---|
update_averages |
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 |