/* *Thetimeexposedthroughthisdeviceisneversmeared.Thisfield *correspondstothe'subtype'fieldinvirtio-rtc,whichindicates *thesmearingmethod.Howeverinthiscaseitprovidesa*hint*to *theguestoperatingsystem,suchthat*if*theguestOSwantsto *provideitsuserswithanalternativeclockwhichdoesnotfollow *UTC,itmaydosoinafashionconsistentwiththeothersystems *inthenearbyenvironment.
*/
__u8 leap_second_smearing_hint; /* Matches VIRTIO_RTC_SUBTYPE_xxx */ #define VMCLOCK_SMEARING_STRICT 0 #define VMCLOCK_SMEARING_NOON_LINEAR 1 #define VMCLOCK_SMEARING_UTC_SLS 2
__le16 tai_offset_sec; /* Actually two's complement signed */
__u8 leap_indicator; /* *ThisfieldisbasedontheVIRTIO_RTC_LEAP_xxxvaluesasdefined *inthecurrentdraftofvirtio-rtc,butsincesmearingcannotbe *usedwiththesharedmemorydevice,somevaluesarenotused. * *The_POST_POSand_POST_NEGvaluesallowtheguesttoperform *itsownsmearingduringthedayorsoafteraleapsecondwhen *suchsmearingmayneedtocontinuebeingappliedforaleap *secondwhichisnowtheoretically"historical".
*/ #define VMCLOCK_LEAP_NONE 0x00 /* No known nearby leap second */ #define VMCLOCK_LEAP_PRE_POS 0x01 /* Positive leap second at EOM */ #define VMCLOCK_LEAP_PRE_NEG 0x02 /* Negative leap second at EOM */ #define VMCLOCK_LEAP_POS 0x03 /* Set during 23:59:60 second */ #define VMCLOCK_LEAP_POST_POS 0x04 #define VMCLOCK_LEAP_POST_NEG 0x05
/* Bit shift for counter_period_frac_sec and its error rate */
__u8 counter_period_shift; /* *PairedvaluesofcounterandUTCatagivenpointintime.
*/
__le64 counter_value; /* *Counterperiod,anderrormarginofsame.Theunitofthese *fieldsis1/2^(64+counter_period_shift)ofasecond.
*/
__le64 counter_period_frac_sec;
__le64 counter_period_esterror_rate_frac_sec;
__le64 counter_period_maxerror_rate_frac_sec;
/* *Timeaccordingtotime_typefieldabove.
*/
__le64 time_sec; /* Seconds since time_type epoch */
__le64 time_frac_sec; /* Units of 1/2^64 of a second */
__le64 time_esterror_nanosec;
__le64 time_maxerror_nanosec;
};
#endif/* __VMCLOCK_ABI_H__ */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet am 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.