extern structstd.os.uefi.TimeCapabilities[src]

Capabilities of the clock device

Fields

resolution: u32

Resolution in Hz

accuracy: u32

Accuracy in an error rate of 1e-6 parts per million.

sets_to_zero: bool

If true, a time set operation clears the device's time below the resolution level.

Source Code

Source code
pub const TimeCapabilities = extern struct {
    /// Resolution in Hz
    resolution: u32,

    /// Accuracy in an error rate of 1e-6 parts per million.
    accuracy: u32,

    /// If true, a time set operation clears the device's time below the resolution level.
    sets_to_zero: bool,
}