Function report |
Source Code:kernel\sched\psi.c |
Create Date:2022-07-28 09:46:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:PSI growth tracking window update and growth calculation routine.* This approximates a sliding tracking window by interpolating* partially elapsed windows using historical growth data from the* previous intervals
Proto:static u64 window_update(struct psi_window *win, u64 now, u64 value)
Type:u64
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct psi_window * | win | |
| u64 | now | |
| u64 | value |
| 470 | elapsed = now - start_time |
| 471 | growth = value - start_value |
| 479 | If elapsed > size Then Trigger tracking window manupulations |
| 481 | Else |
| 488 | Return growth |
| Name | Describe |
|---|---|
| update_triggers |
| 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 |