函数逻辑报告 |
Source Code:kernel\sched\psi.c |
Create Date:2022-07-27 10:46:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:psi_poll_work
函数原型:static void psi_poll_work(struct kthread_work *work)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 如果changed_states按位与poll_states则 |
599 | 如果now大于polling_until则init_triggers(group, now) |
611 | 如果now大于polling_until则 |
613 | 转到:out |
616 | 如果now大于等于polling_next_update则polling_next_update等于update_triggers(group, now) |
622 | out : |
623 | mutex_unlock( & trigger_lock) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |