Occurrences of gettimeofday() in src/usr.bin

usr.bin/compile_et/error_table.y
6 digits of current time in 100ths of a second are used to generate a symbol.
usr.bin/doscmd/bios.c
Convert current time to clock ticks for DOS.
usr.bin/doscmd/cmos.c
Simulate reading of RTC for DOS.
usr.bin/doscmd/dos.c
Simulate reading of RTC for DOS, with TZ.
usr.bin/doscmd/doscmd.c
Set DOS "boot time".
usr.bin/doscmd/int1a.c
Various date/time calls to DOS int 0x1a. Function 0x04 returns date. R_CL = yr % 100; R_CH = int(yr/100);
usr.bin/fetch/main.c
Show elapsed time for transfer in seconds.
usr.bin/ftp/ftp.c
Set access time on transferred file when modification time is preserved from original.
usr.bin/ftp/util.c
Calculate time remaining in seconds for transfer.
usr.bin/lock/lock.c
Get current time to determine time for lockout. Timeout period is specified in minutes, and is thus not year-sensitive.
usr.bin/login/login.c
Check password change and expiry times (comparison made as seconds since the epoch)
usr.bin/newkey/generic.c
Current time seconds+useconds used to seed srand()
usr.bin/passwd/local_passwd.c
Generate random salt for passwords
usr.bin/pr/pr.c
Prints current time/date using strftime()
usr.bin/quota/quota.c
Determine elapsed time
usr.bin/rdist/docmd.c
Set file access/mod time to current time.
usr.bin/tftp/tftp.c
show elapsed time for transfer in seconds.
usr.bin/time/time.c
Calculate elapsed time for process execution, in seconds.
usr.bin/tip/libacu/tod.c
Calculate inter-command delays for talking to modem.
usr.bin/tn3270/sys_curses/system.c
Random seed for srandom()
usr.bin/touch/touch.c
Set file access/modification time to current time.
usr.bin/vi/config.h
In a comment; not used.
usr.bin/vi/port.h
In a comment; not used.
usr.bin/window/lcmd2.c
Prints current elapsed time in hours:min:sec.
usr.bin/window/main.c
Sets start time, to calculate elapsed time.