Function report |
Source Code:kernel\sched\psi.c |
Create Date:2022-07-28 09:46:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:update_averages
Proto:static u64 update_averages(struct psi_group *group, u64 now)
Type:u64
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct psi_group * | group | |
| u64 | now |
| 359 | missed_periods = 0 |
| 365 | expires = avg_next_update |
| 376 | avg_next_update = expires + (1 + missed_periods) * Sampling frequency in nanoseconds |
| 378 | avg_last_update = now |
| 380 | When s < NR_PSI_STATES - 1 cycle |
| 407 | Return avg_next_update |
| Name | Describe |
|---|---|
| psi_avgs_work | |
| psi_show |
| 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 |