Skip to main content

read_wall_clock_epoch

Function read_wall_clock_epoch 

Source
pub fn read_wall_clock_epoch() -> Option<Duration>
Expand description

Returns the wall-clock epoch recorded in the KVM wall-clock page.

The returned duration is always less than u32::MAX seconds, because the page stores whole seconds as a u32.