Updated: October 28, 2024 |
You can retrieve information about a guest's current time drift by sending a SIGUSR1 to the qvm process hosting the guest.
slay -s SIGUSR1 qvm
# ======================================================================= Features: 0 Current host time: 8c50ccb052 Current guest time: 33743c4cd Current drift: a2e
Both the guest and host times are expressed in clock cycles, retrieved from the highest frequency clock available on your system (see ClockCycles() in the C Library Reference for an explanation of how to get a value for the number of clock cycle increments per second (CPS)).
2606 * 0.42 = 1095nanoseconds, or approximately 1.1 microseconds.
For more information about time drift, see Time in the Understanding QNX Virtual Environments chapter.