Function report | 
Source Code:kernel\sched\psi.c | 
Create Date:2022-07-28 09:46:27 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:update_triggers
Proto:static u64 update_triggers(struct psi_group *group, u64 now)
Type:u64
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct psi_group * | group | |
| u64 | now | 
| 506 | bool new_stall = false | 
| 517 | If polling_total[state] == total[state] Then Continue | 
| 526 | new_stall = true | 
| 534 | If now < last_event_time + size Then Continue | 
| 538 | If cmpxchg( & event, 0, 1) == 0 Then wake_up_interruptible( & event_wait) | 
| 540 | last_event_time = now | 
| 543 | If new_stall Then No 3D Now!(polling_total, total, size of polling_total ) | 
| 547 | Return now + poll_min_period | 
| Name | Describe | 
|---|---|
| psi_poll_work | 
| 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  |