Expand description
Syscalls from time.c
Structs§
- Clock
Resolution - Clock
Timespec - Associates a returned
Timespecwith theClockTypeit was requested with. - Times
- A Block of times provided by the kernel.
- Times
Ticks - Timespec
- Kernel’s version of
Instant, referenced to a specific clock.
Enums§
- Clock
Type - Equivalent of POSIX’s clock_t type.
Constants§
Traits§
- Enum
Iter Item - 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
- Enum
Name - 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.