|
managarm/hel
|
Parameters that allow userspace to compute the current time on the monotone clock (i.e., the clock read by helGetClock()) without performing syscalls. More...
#include <hel.h>
Parameters that allow userspace to compute the current time on the monotone clock (i.e., the clock read by helGetClock()) without performing syscalls.
Obtained as a read-only memory object via helObtainHandle() with kHelObtainClockPage. All fields are protected by a seqlock: readers repeat the read while seqlock is odd or while it changes during the read.
The conversion from clock ticks to nanoseconds is (tickFactor * ticks) >> tickShift. The multiplication is performed in 128-bit arithmetic.