函数逻辑报告 |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-27 10:38:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:update_load_avg
函数原型:static inline void update_load_avg(struct cfs_rq *cfs_rq, struct sched_entity *se, int not_used1)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cfs_rq * | cfs_rq | |
struct sched_entity * | se | |
int | not_used1 |
3854 | cfs_rq_util_change(cfs_rq, 0) |
名称 | 描述 |
---|---|
enqueue_entity | MIGRATION* dequeue* update_curr()* update_min_vruntime()* vruntime -= min_vruntime* enqueue* update_curr()* update_min_vruntime()* vruntime += min_vruntime* this way the vruntime transition between RQs is done when both* min_vruntime are up-to-date |
dequeue_entity | |
set_next_entity | |
put_prev_entity | |
entity_tick | 更新当前进程运行时间,并判断是否需要调度此进程 |
enqueue_task_fair | The enqueue_task method is called before nr_running is* increased. Here we update the fair scheduling stats and* then put the task into the rbtree: |
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: |
detach_entity_cfs_rq | |
attach_entity_cfs_rq |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |