Function report |
Source Code:kernel\sched\psi.c |
Create Date:2022-07-28 09:46:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:psi_group_change
Proto:static unsigned int psi_group_change(struct psi_group *group, int cpu, unsigned int clear, unsigned int set)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct psi_group * | group | |
| int | cpu | |
| unsigned int | clear | |
| unsigned int | set |
| 678 | state_mask = 0 |
| 680 | groupc = per_cpu_ptr(pcpu, cpu) |
| 690 | write_seqcount_begin( & seq) |
| 692 | record_times(groupc, cpu, false) |
| 712 | When s < NR_PSI_STATES cycle |
| 713 | If test_state(tasks, s) Then state_mask |= 1 << s |
| 716 | state_mask = state_mask |
| 718 | write_seqcount_end( & seq) |
| 720 | Return state_mask |
| Name | Describe |
|---|---|
| psi_task_change |
| 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 |