Searched refs:tnow (Results 1 – 4 of 4) sorted by relevance
| /freebsd/sbin/dump/ |
| H A D | optr.c | 186 time_t tnow, tdone; in timeest() local 190 (void)time(&tnow); in timeest() 193 if (tnow >= tschedule) { in timeest() 194 tschedule = tnow + 300; in timeest() 198 deltat = (blockswritten == 0) ? 0 : tstart_writing - tnow + in timeest() 199 (double)(tnow - tstart_writing) / blockswritten * tapesize; in timeest() 200 tdone = tnow + deltat; in timeest() 210 if (tnow >= tschedule) { in timeest() 211 tschedule = tnow + 300; in timeest() 373 time_t tnow; in lastdump() local [all …]
|
| /freebsd/usr.bin/ktrdump/ |
| H A D | ktrdump.c | 92 uintmax_t tlast, tnow; in main() local 327 tnow = (uintmax_t)buf[i].ktr_timestamp; in main() 330 tlast = tnow; in main() 331 fprintf(out, "%16ju ", !iflag ? tlast - tnow : in main() 332 tnow - tlast); in main() 333 tlast = tnow; in main() 335 fprintf(out, "%16ju ", tnow); in main()
|
| /freebsd/bin/sh/ |
| H A D | miscbltin.c | 170 struct timespec tnow, tend, tresid; in readcmd() local 241 clock_gettime(CLOCK_UPTIME, &tnow); in readcmd() 242 tend = tnow; in readcmd() 245 timespecsub(&tend, &tnow, &tresid); in readcmd() 249 clock_gettime(CLOCK_UPTIME, &tnow); in readcmd() 250 } while (timespeccmp(&tnow, &tend, <)); in readcmd()
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | ntp_timer.c | 302 time_t tnow; in timer() local 395 time(&tnow); in timer() 403 , &tnow in timer() 471 check_leap_file(TRUE, now.l_ui, &tnow); 473 check_leap_file(FALSE, now.l_ui, &tnow); in alarming()
|