class TimerSlack
Defined at line 22 of file ../../zircon/kernel/include/kernel/deadline.h
TimerSlack specifies how much a timer or event is allowed to deviate from its deadline.
Public Methods
void TimerSlack (zx_duration_t amount, slack_mode mode)
Create a TimerSlack object with the specified |amount| and |mode|.
|amount| must be >= 0. 0 means "no slack" (i.e. no coalescing is allowed).
Defined at line 27 of file ../../zircon/kernel/include/kernel/deadline.h
const TimerSlack & none ()
Used to indicate that a given deadline is not eligible for coalescing.
Not intended to be used for timers/events that originate on behalf of usermode.
Defined at line 34 of file ../../zircon/kernel/include/kernel/deadline.h
zx_duration_t amount ()
Defined at line 36 of file ../../zircon/kernel/include/kernel/deadline.h
slack_mode mode ()
Defined at line 38 of file ../../zircon/kernel/include/kernel/deadline.h
bool operator== (const TimerSlack & rhs)
Defined at line 40 of file ../../zircon/kernel/include/kernel/deadline.h
bool operator!= (const TimerSlack & rhs)
Defined at line 44 of file ../../zircon/kernel/include/kernel/deadline.h