Apart from using timers, you can also get and set the current realtime clock, and adjust it gradually. The following functions can be used for these purposes:
Function | Type? | Description |
---|---|---|
ClockAdjust() | Neutrino | Gradually adjust the time |
ClockCycles() | Neutrino | High-resolution snapshot |
clock_getres() | POSIX | Fetch the base timing resolution |
clock_gettime() | POSIX | Get the current time of day |
ClockPeriod() | Neutrino | Get or set the base timing resolution |
clock_settime() | POSIX | Set the current time of day |
ClockTime() | Neutrino | Get or set the current time of day |