函数逻辑报告 |
Source Code:kernel\sched\deadline.c |
Create Date:2022-07-27 10:40:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This function implements the GRUB accounting rule:* according to the GRUB reclaiming algorithm, the runtime is* not decreased as "dq = -dt", but as* "dq = -max{u / Umax, (1 - Uinact - Uextra)} dt",* where u is the utilization of the task, Umax is the
函数原型:static u64 grub_reclaim(u64 delta, struct rq *rq, struct sched_dl_entity *dl_se)
返回类型:u64
参数:
类型 | 参数 | 名称 |
---|---|---|
u64 | delta | |
struct rq * | rq | |
struct sched_dl_entity * | dl_se |
1157 | u_act_min等于 dl_runtime / dl_period 乘Inverse of the fraction of CPU utilization that can be reclaimed* by the GRUB algorithm.右移RATIO_SHIFT位 |
名称 | 描述 |
---|---|
update_curr_dl | Update the current task's runtime statistics (provided it is still* a -deadline task and has not been removed from the dl_rq). |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |