Function report |
Source Code:kernel\time\hrtimer.c |
Create Date:2022-07-28 10:40:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hrtimer_get_remaining - get remaining time for the timer*@timer: the timer to read*@adjust: adjust relative timers when CONFIG_TIME_LOW_RES=y
Proto:ktime_t __hrtimer_get_remaining(const struct hrtimer *timer, bool adjust)
Type:ktime_t
Parameter:
Type | Parameter | Name |
---|---|---|
const struct hrtimer * | timer | |
bool | adjust |
1297 | lock_hrtimer_base(timer, & flags) |
1298 | If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_TIME_LOW_RES) && adjust Then rem = hrtimer_expires_remaining_adjusted(timer) |
1300 | Else rem = hrtimer_expires_remaining(timer) |
1304 | Return rem |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |