Function report |
Source Code:kernel\sched\psi.c |
Create Date:2022-07-28 09:46:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:psi_avgs_work
Proto:static void psi_avgs_work(struct work_struct *work)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct work_struct * | work |
418 | dwork = to_delayed_work(work) |
421 | mutex_lock( & avgs_lock) |
423 | now = Scheduler clock - returns current time in nanosec units.* This is default implementation.* Architectures and sub-architectures can override this. |
425 | collect_percpu_times(group, PSI_AVGS, & changed_states) |
426 | nonidle = changed_states & 1 << PSI_NONIDLE |
434 | If now >= avg_next_update Then avg_next_update = update_averages(group, now) |
437 | If nonidle Then |
442 | mutex_unlock( & avgs_lock) |
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 |