函数逻辑报告 |
Source Code:kernel\time\hrtimer.c |
Create Date:2022-07-27 11:40:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:hrtimer_get_remaining - get remaining time for the timer*@timer: the timer to read*@adjust: adjust relative timers when CONFIG_TIME_LOW_RES=y
函数原型:ktime_t __hrtimer_get_remaining(const struct hrtimer *timer, bool adjust)
返回类型:ktime_t
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct hrtimer * | timer | |
bool | adjust |
1297 | lock_hrtimer_base(timer, & flags) |
1298 | 如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_TIME_LOW_RES)且adjust则rem等于hrtimer_expires_remaining_adjusted(timer) |
1300 | 否则rem等于hrtimer_expires_remaining(timer) |
1304 | 返回:rem |
名称 | 描述 |
---|---|
itimer_get_remtime | mer_get_remtime - get remaining time for the timer*@timer: the timer to read* Returns the delta between the expiry time and now, which can be* less than zero or 1usec for an pending expired timer |
hrtimer_get_remaining |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |