Function report |
Source Code:kernel\sched\psi.c |
Create Date:2022-07-28 09:46:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:psi_poll_work
Proto:static void psi_poll_work(struct kthread_work *work)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct kthread_work * | work |
589 | atomic_set( & poll_scheduled, 0) |
591 | mutex_lock( & trigger_lock) |
593 | now = Scheduler clock - returns current time in nanosec units.* This is default implementation.* Architectures and sub-architectures can override this. |
595 | collect_percpu_times(group, PSI_POLL, & changed_states) |
597 | If changed_states & poll_states Then |
599 | If now > polling_until Then init_triggers(group, now) |
607 | polling_until = now + poll_min_period * 10 updates per window |
611 | If now > polling_until Then |
613 | Go to out |
616 | If now >= polling_next_update Then polling_next_update = update_triggers(group, now) |
622 | out : |
623 | mutex_unlock( & trigger_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 |