Home | History | Annotate | Download | only in leapsec

Lines Matching refs:leap

2  * Regression test for hrtimer early expiration during and after leap seconds
5 * timers to expire one second early during leap second.
81 "insert leap second",
82 "delete leap second",
83 "leap second in progress",
84 "leap second has occurred",
150 struct timespec now, leap, start;
159 /* calculate the next leap second */
162 leap = now;
163 tst_resm(TINFO, "scheduling leap second %s", strtime(&leap));
165 /* start before the leap second */
175 /* set the leap second insert flag */
178 /* reliably sleep till after the leap second */
179 while (tx.time.tv_sec < leap.tv_sec + SECONDS_AFTER_LEAP) {
191 start.tv_sec += now.tv_sec - (leap.tv_sec - SECONDS_BEFORE_LEAP);