函数逻辑报告 |
Source Code:kernel\sched\deadline.c |
Create Date:2022-07-27 10:40:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:The utilization of a task cannot be immediately removed from* the rq active utilization (running_bw) when the task blocks
函数原型:static void task_non_contending(struct task_struct *p)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p |
241 | dl_rq等于dl_rq_of_se(dl_se) |
242 | rq等于rq_of_dl_rq(dl_rq) |
249 | 如果 Maximum runtime for each instance 恒等于0则返回 |
252 | 如果dl_entity_is_special(dl_se)则返回 |
255 | WARN_ON(dl_non_contending) |
257 | zerolag_time等于 Absolute deadline for this instance 减div64_long(( Remaining runtime for this instance * Separation of two instances (period) ), Maximum runtime for each instance ) |
265 | zerolag_time减等于rq_clock(rq) |
272 | 如果dl_task(p)则sub_running_bw(dl_se, dl_rq) |
279 | raw_spin_lock( & lock) |
280 | __dl_sub(dl_b, dl_runtime / dl_period , dl_bw_cpus(task_cpu(p))) |
282 | raw_spin_unlock( & lock) |
285 | 返回 |
288 | dl_non_contending等于1 |
289 | get_task_struct(p) |
290 | 重启cpu高精度定时器 |
名称 | 描述 |
---|---|
dequeue_task_dl | |
switched_from_dl |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |