函数逻辑报告 |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-27 10:39:05 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:dequeue_entity
函数原型:static void dequeue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int flags)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct cfs_rq * | cfs_rq | |
| struct sched_entity * | se | |
| int | flags |
| 4083 | 更新当前进程运行时间,包括虚拟运行时间 |
| 4093 | update_load_avg(cfs_rq, se, UPDATE_TG) |
| 4094 | dequeue_runnable_load_avg(cfs_rq, se) |
| 4096 | update_stats_dequeue(cfs_rq, se, flags) |
| 4098 | 清空队列指针 |
| 4100 | 如果se不等于'curr' points to currently running entity on this cfs_rq.* It is set to NULL otherwise (i.e when none are currently running).则__dequeue_entity(cfs_rq, se) |
| 4102 | on_rq等于0 |
| 4103 | account_entity_dequeue(cfs_rq, se) |
| 4115 | return_cfs_rq_runtime(cfs_rq) |
| 4117 | update_cfs_group(se) |
| 4125 | 如果flags按位与Matches ENQUEUE_RESTORE 按位或Matches ENQUEUE_MOVE 的值的值不等于Matches ENQUEUE_RESTORE 则update_min_vruntime(cfs_rq) |
| 名称 | 描述 |
|---|---|
| dequeue_task_fair | The dequeue_task method is called before nr_running is* decreased. We remove the task from the rbtree and* update the fair scheduling stats: |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |