14 #include <kApi/Threads/kTimer.x.h>
35 return xkTimer_FromTicks(xkTimer_Ticks());
kStatus kTimer_Stop(kTimer timer)
Stops the timer.
Represents a 64-bit unsigned integer.
Abstract base class for memory allocator types.
kBool kTimer_IsExpired(kTimer timer)
Reports whether a count-down timer has expired.
#define kInlineFx(TYPE)
Inline method declaration helper.
Definition: kApiDef.h:26
k64u kTimer_Elapsed(kTimer timer)
Reports the duration, in microseconds, for which the timer has been running.
Core Zen type declarations.
k64u kTimer_Now()
Provides the current time in microseconds.
Definition: kTimer.h:33
kBool kTimer_IsStarted(kTimer timer)
Reports whether a timer has been started.
k64u kTimer_Remaining(kTimer timer)
Reports the remaining time, in microseconds, for a countdown timer.
kStatus kTimer_Start(kTimer timer, k64u totalTime)
Starts the timer.
Represents an error code.
kStatus kTimer_Construct(kTimer *timer, kAlloc allocator)
Constructs a timer object.
Represents a boolean value.
Represents an interval timer.