Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
const struct hrtimer *timer
booladjust
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)
1302  Counterpart to lock_hrtimer_base above:
1304  Return rem
Caller
NameDescribe
itimer_get_remtimemer_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