Difference between revisions of "32v 1m time"

From Computer History Wiki
Jump to: navigation, search
(New page: TIME(1) UNIX Programmer's Manual TIME(1) == NAME == time - time a command == SYNOPSIS == time command == DESCRIPTION == The given command is ex...)
 
 
Line 1: Line 1:
TIME(1)             UNIX Programmer's Manual             TIME(1)
+
TIME(1)   UNIX Programmer's Manual   TIME(1)
  
  
  
 
== NAME ==
 
== NAME ==
    time - time a command
+
time - time a command
  
 
== SYNOPSIS ==
 
== SYNOPSIS ==
    time command
+
time command
  
 
== DESCRIPTION ==
 
== DESCRIPTION ==
    The given command is executed; after it is complete, _t_i_m_e
+
The given command is executed; after it is complete, '''time'''
    prints the elapsed time during the command, the time spent
+
prints the elapsed time during the command, the time spent
    in the system, and the time spent in execution of the com-
+
in the system, and the time spent in execution of the command.  Times are reported in seconds.
    mand.  Times are reported in seconds.
 
  
    On a PDP-11, the execution time can depend on what kind of
+
On a PDP-11, the execution time can depend on what kind of
    memory the program happens to land in; the user time in MOS
+
memory the program happens to land in; the user time in MOS
    is often half what it is in core.
+
is often half what it is in core.
  
    The times are printed on the diagnostic output stream.
+
The times are printed on the diagnostic output stream.
  
 
== BUGS ==
 
== BUGS ==
    Elapsed time is accurate to the second, while the CPU times
+
Elapsed time is accurate to the second, while the CPU times
    are measured to the 60th second.  Thus the sum of the CPU
+
are measured to the 60th second.  Thus the sum of the CPU
    times can be up to a second larger than the elapsed time.
+
times can be up to a second larger than the elapsed time.
  
 
[[Category:32v man section 1]]
 
[[Category:32v man section 1]]

Latest revision as of 13:44, 4 November 2009

TIME(1) UNIX Programmer's Manual TIME(1)


NAME

time - time a command

SYNOPSIS

time command

DESCRIPTION

The given command is executed; after it is complete, time prints the elapsed time during the command, the time spent in the system, and the time spent in execution of the command. Times are reported in seconds.

On a PDP-11, 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.

The times are printed on the diagnostic output stream.

BUGS

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.