函数逻辑报告 |
Source Code:kernel\sched\psi.c |
Create Date:2022-07-27 10:46:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:psi_avgs_work
函数原型:static void psi_avgs_work(struct work_struct *work)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 如果now大于等于avg_next_update则avg_next_update等于update_averages(group, now) |
437 | 如果nonidle则 |
438 | 在延迟工作队列中放置任务 |
442 | mutex_unlock( & avgs_lock) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |