Slide 160
Slide 160 text
© 2023 Wantedly, Inc. / 207
システムクロックと閏秒
● adjtimex(2) による閏秒の挿入
23:59:58
23:59:59
00:00:01
00:00:02
00:00:00
(STA_INS, TIME_INS) (STA_INS, TIME_INS)
23:59:60
(STA_INS, TIME_OOP) (STA_INS, TIME_WAIT) (STA_INS, TIME_WAIT)
(STA_INS, TIME_OK)
(0, TIME_OK)
(0, TIME_WAIT)
(0, TIME_OK)
ntp_next_leap_sec
adjtimex(2)
adjtimex(2)
160