Function report |
Source Code:kernel\sched\psi.c |
Create Date:2022-07-28 09:46:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:psi_show
Proto:int psi_show(struct seq_file *m, struct psi_group *group, enum psi_res res)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct seq_file * | m | |
| struct psi_group * | group | |
| enum psi_res | res |
| 945 | If static_branch_likely( & psi_disabled) Then Return -EOPNOTSUPP |
| 949 | mutex_lock( & avgs_lock) |
| 950 | now = Scheduler clock - returns current time in nanosec units.* This is default implementation.* Architectures and sub-architectures can override this. |
| 951 | collect_percpu_times(group, PSI_AVGS, NULL) |
| 952 | If now >= avg_next_update Then avg_next_update = update_averages(group, now) |
| 954 | mutex_unlock( & avgs_lock) |
| 974 | Return 0 |
| Name | Describe |
|---|---|
| psi_io_show | |
| psi_memory_show | |
| psi_cpu_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 |