Crate readclock

Source
Expand description

A helper binary for reading CLOCK_BOOTTIME and CLOCK_MONOTONIC to verify the virtio-pvclock behavior. This program is used by corresponding e2e_tests.

Structsยง

ClockValues
ClockValues hold the values read out from the kernel via clock_gettime syscall.

Functionsยง

clock_boottime_now ๐Ÿ”’
clock_gettime_nanos ๐Ÿ”’
clock_monotonic_now ๐Ÿ”’