Scroll to navigation

HRTIMER_START(9) Driver Basics HRTIMER_START(9)

NAME

hrtimer_start - (re)start an hrtimer on the current CPU

SYNOPSIS

int hrtimer_start(struct hrtimer * timer, ktime_t tim, const enum hrtimer_mode mode);

ARGUMENTS

timer

the timer to be added

tim

expiry time

mode

expiry mode: absolute (HRTIMER_MODE_ABS) or relative (HRTIMER_MODE_REL)

RETURNS

0 on success 1 when the timer was active

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10