函数逻辑报告 |
Source Code:kernel\time\hrtimer.c |
Create Date:2022-07-27 11:41:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:schedule_hrtimeout_range_clock - sleep until timeout*@expires: timeout value (ktime_t)*@delta: slack in expires timeout (ktime_t)*@mode: timer mode*@clock_id: timer clock to be used
函数原型:int __sched schedule_hrtimeout_range_clock(ktime_t *expires, u64 delta, const enum hrtimer_mode mode, clockid_t clock_id)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
ktime_t * | expires | |
u64 | delta | |
const enum hrtimer_mode | mode | |
clockid_t | clock_id |
2114 | 返回:0 |
2120 | 如果非expires则 |
2125 | hrtimer_init_sleeper_on_stack( & t, clock_id, mode) |
2126 | hrtimer_set_expires_range_ns( & timer, * expires, delta) |
2129 | 如果此条件成立可能性大(为编译器优化)(task)则进程调度 |
2133 | destroy_hrtimer_on_stack( & timer) |
名称 | 描述 |
---|---|
schedule_hrtimeout_range | schedule_hrtimeout_range - sleep until timeout*@expires: timeout value (ktime_t)*@delta: slack in expires timeout (ktime_t)*@mode: timer mode* Make the current task sleep until the given expiry time has* elapsed. The routine will return immediately unless |
wq_sleep | Puts current task to sleep. Caller must hold queue lock. After return* lock isn't held. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |