| |
| | [No title] |
 | | Make a maximum * sized slew and reduce sys_clock_offset by this * much. |
 | | */ M_SUBUF(offset_i, offset_f, tsf_maxslew); if (!isneg) { adjtv.tv_usec = tvu_maxslew; } else { adjtv.tv_usec = -tvu_maxslew; M_NEG(offset_i, offset_f); } #ifdef DEBUG if (debug > 4) printf("systime: maximum slew: %s%s, remainder = %s\n", isneg?"-":"", umfptoa(0, tsf_maxslew, 9), mfptoa(offset_i, offset_f, 9)); #endif } else { /* * We can do this slew in the time period. |
 | | WLJ */ int step_systime_real(ts) l_fp *ts; { struct timeval timetv, adjtv; int isneg = 0; #if defined(SYS_HPUX) struct utmp ut; time_t oldtime; #endif /* * We can afford to be sloppy here since if this is called * the time is really screwed and everything is being reset. |
| www.rpi.edu /AFS/home/41/bailem2/rt/campus/time/xntp/3.4n/rs_aix32/src/lib/systime.c (701 words) |
|