函数逻辑报告 |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-27 10:39:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:place_entity
函数原型:static void place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cfs_rq * | cfs_rq | |
struct sched_entity * | se | |
int | initial |
3895 | vruntime等于min_vruntime |
3903 | 如果initial且sched_feat(START_DEBIT)则vruntime加等于We calculate the vruntime slice of a to-be-inserted task.* vs = s/w |
3907 | 如果非initial则 |
3914 | 如果sched_feat(GENTLE_FAIR_SLEEPERS)则thresh右移等于1位 |
名称 | 描述 |
---|---|
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 |
task_fork_fair | alled on fork with the child task as argument from the parent's context* - child not yet on the tasklist* - preemption disabled |
detach_task_cfs_rq |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |