V4/usr/man/man1/time.1
.th TIME I 8/16/73
.sh NAME
time \*- time a command
.sh SYNOPSIS
.bd time
command
.sh DESCRIPTION
The
given command is executed; after it is complete,
.it time
prints the elapsed time during the command, the time
spent in the system, and the time spent in execution
of the command.
.s3
The execution time can depend on what kind of memory
the program happens to land in;
the user time in MOS is often half what it is in core.
.sh BUGS
Notice that
.bd "time x >y"
puts the timing information into
.it y.
One can get around this by
.bd "time sh"
followed by
.bd "x >y."
.br
Elapsed time is accurate to the second,
while the CPU times are measured
to the 60th second.
Thus the sum of the CPU times can be up to a second larger
than the elapsed time.