time(3Tcl) time(3Tcl)
time - Time the execution of a script
time script ?count?
This command will call the Tcl interpreter count times to evaluate script
(or once if count isn't specified). It will then return a string of the
form
503 microseconds per iteration
which indicates the average amount of time required per iteration, in
microseconds. Time is measured in elapsed time, not CPU time.
script, time
TIME(3F) TIME(3F)
time, ctime, ltime, gmtime - return system time
external time
integer function time()
subroutine time(chtime)
character*8 chtime
character*24 function ctime (stime)
integer stime
subroutine ltime (stime, tarray)
integer stime, tarray(9)
subroutine gmtime (stime, tarray)
integer stime, tarray(9)
The external function time returns the time since 00:00:00 GMT, Jan. 1,
1970, measured in seconds. This is the value of the UNIX system clock.
The intrinsic subroutine time returns the time in the form 00:00:00 in
the character string chtime. This is the default when time is not
declared to be an external function.
Ctime converts a system time to a 24 character ASCII string. The format
is described under ctime(3). No 'newline' or NULL will be included.
Ltime and gmtime disect a UNIX time into month, day, etc., either for the
local time zone or as GMT.
The argument stime contains the time in seconds since 00:00:00 GMT,
January 1, 1970, returned by a previous call to time. The order and
meaning of each element returned in tarray is described under ctime(3).
/usr/lib/libU77.a
ctime(3), itime(3F), idate(3F), fdate(3F)
MIPS Computer Systems
PPPPaaaaggggeeee 1111 [ Back ]
|