函数逻辑报告 |
Source Code:kernel\sched\deadline.c |
Create Date:2022-07-27 10:40:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:If the entity depleted all its runtime, and if we want it to sleep* while waiting for some new execution time to become available, we* set the bandwidth replenishment timer to the replenishment instant* and try to activate it
函数原型:static int start_dl_timer(struct task_struct *p)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p |
923 | timer等于* Bandwidth enforcement timer. Each -deadline task has its * own bandwidth to be enforced, thus we need one timer per task. |
928 | lockdep_assert_held( & 运行队列锁) |
935 | act等于ns_to_ktime(dl_next_period(dl_se)) |
936 | now等于hrtimer_cb_get_time(timer) |
945 | 如果ktime_us_delta(act, now)小于0则返回:0 |
958 | get_task_struct(p) |
959 | 重启cpu高精度定时器 |
962 | 返回:1 |
名称 | 描述 |
---|---|
dl_check_constrained_dl | During the activation, CBS checks if it can reuse the current task's* runtime and period |
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 插件可实现:逻辑报告 代码生成和批量转换代码 |