Module time

Module time 

Source
Expand description

Syscalls from time.c

Structs§

ClockResolution
ClockTimespec
Associates a returned Timespec with the ClockType it was requested with.
Times
A Block of times provided by the kernel.
TimesTicks
Timespec
Kernel’s version of Instant, referenced to a specific clock.

Enums§

ClockType
Equivalent of POSIX’s clock_t type.

Constants§

SYSCALL_CLOCK_GETRES
SYSCALL_CLOCK_GETTIME
SYSCALL_TIMES

Traits§

EnumIterItem
This trait allows an enum to return an iterable vector of it’s elements. This trait is ONLY derivable on traits who’s elements have NO fields
EnumName
This trait allows an enum to return it’s own ‘name’ - its identifier.

Functions§

clock_getres
Calls into the Kernel and requests the resolution of the specified clock.
clock_gettime
Calls into the Kernel and requests the current value of the specified clock.
times
Returns the current process times & a ‘ticks’ value at the time of the call.

Type Aliases§

ClockT
Equivalent of POSIX’s clock_t type.

Derive Macros§

EnumIterItem
EnumName