函数逻辑报告 |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-27 10:38:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:reweight_entity
函数原型:static void reweight_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, unsigned long weight, unsigned long runnable)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cfs_rq * | cfs_rq | |
struct sched_entity * | se | |
unsigned long | weight | |
unsigned long | runnable |
2883 | 如果on_rq则 |
2885 | 如果'curr' points to currently running entity on this cfs_rq.* It is set to NULL otherwise (i.e when none are currently running).恒等于se则更新当前进程运行时间,包括虚拟运行时间 |
2887 | account_entity_dequeue(cfs_rq, se) |
2888 | dequeue_runnable_load_avg(cfs_rq, se) |
2890 | dequeue_load_avg(cfs_rq, se) |
2892 | runnable_weight等于runnable |
2893 | update_load_set( & For load-balancing: , weight) |
2905 | enqueue_load_avg(cfs_rq, se) |
2906 | 如果on_rq则 |
2907 | account_entity_enqueue(cfs_rq, se) |
2908 | enqueue_runnable_load_avg(cfs_rq, se) |
名称 | 描述 |
---|---|
reweight_task |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |