summaryrefslogtreecommitdiffstats
path: root/doc/time.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-10-25 10:03:33 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-10-25 10:03:33 (GMT)
commit3db34575ff5d39f891d62fb3772bdc13b28f9237 (patch)
treee291bc5d1a87d9e85dc5f8c74983f9512cfd7a0e /doc/time.n
parent74c8f50482825fee98d0fd0fa9632aff703c118a (diff)
downloadtcl-3db34575ff5d39f891d62fb3772bdc13b28f9237.zip
tcl-3db34575ff5d39f891d62fb3772bdc13b28f9237.tar.gz
tcl-3db34575ff5d39f891d62fb3772bdc13b28f9237.tar.bz2
Ensure that the exemplar output indicates that it can be fractional
Diffstat (limited to 'doc/time.n')
-rw-r--r--doc/time.n7
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/time.n b/doc/time.n
index 47f967f..c23f86e 100644
--- a/doc/time.n
+++ b/doc/time.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: time.n,v 1.5 2004/10/27 14:43:54 dkf Exp $
+'\" RCS: @(#) $Id: time.n,v 1.6 2007/10/25 10:03:33 dkf Exp $
'\"
.so man.macros
.TH time n "" Tcl "Tcl Built-In Commands"
@@ -16,14 +16,13 @@ time \- Time the execution of a script
.SH SYNOPSIS
\fBtime \fIscript\fR ?\fIcount\fR?
.BE
-
.SH DESCRIPTION
.PP
This command will call the Tcl interpreter \fIcount\fR
times to evaluate \fIscript\fR (or once if \fIcount\fR isn't
specified). It will then return a string of the form
.CS
-\fB503 microseconds per iteration\fR
+\fB503.2 microseconds per iteration\fR
.CE
which indicates the average amount of time required per iteration,
in microseconds.
@@ -38,9 +37,7 @@ time {
}
}
.CE
-
.SH "SEE ALSO"
clock(n)
-
.SH KEYWORDS
script, time