diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-01 12:20:55 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-01 12:20:55 (GMT) |
commit | 11730b607dcdeaa7a08c40257078f43219663558 (patch) | |
tree | 1bc011dd9b3058544cb1bf2bee03e892e32ebe72 /doc | |
parent | e92590e87d50f13720f02419f42aca99d7706cc7 (diff) | |
parent | 5331fe2426d21535fabda8f3cc23c92c0b98be9a (diff) | |
download | tcl-11730b607dcdeaa7a08c40257078f43219663558.zip tcl-11730b607dcdeaa7a08c40257078f43219663558.tar.gz tcl-11730b607dcdeaa7a08c40257078f43219663558.tar.bz2 |
Merge trunk
Diffstat (limited to 'doc')
-rw-r--r-- | doc/tcltest.n | 14 | ||||
-rw-r--r-- | doc/tell.n | 2 |
2 files changed, 13 insertions, 3 deletions
diff --git a/doc/tcltest.n b/doc/tcltest.n index cedc763..05c1922 100644 --- a/doc/tcltest.n +++ b/doc/tcltest.n @@ -872,8 +872,8 @@ harness are doing. . Sets the type of output verbosity desired to \fIlevel\fR, a list of zero or more of the elements \fBbody\fR, \fBpass\fR, -\fBskip\fR, \fBstart\fR, \fBerror\fR and \fBline\fR. Default value -is +\fBskip\fR, \fBstart\fR, \fBerror\fR, \fBline\fR, \fBmsec\fR and \fBusec\fR. +Default value is .QW "\fBbody error\fR" . Levels are defined as: .RS @@ -890,6 +890,16 @@ Print errorInfo and errorCode, if they exist, when a test return code does not match its expected return code .IP "line (\fBl\fR)" Print source file line information of failed tests +.IP "msec (\fBm\fR)" +Print each test's execution time in milliseconds +.IP "usec (\fBu\fR)" +Print each test's execution time in microseconds +.PP +Note that the \fBmsec\fR and \fBusec\fR verbosity levels are provided as +indicative measures only. They do not tackle the problem of repeatibility which +should be considered in performance tests or benchmarks. To use these verbosity +levels to thoroughly track performance degradations, consider wrapping your +test bodies with \fBtime\fR commands. .PP The single letter abbreviations noted above are also recognized so that @@ -16,7 +16,7 @@ tell \- Return current access position for an open channel .BE .SH DESCRIPTION .PP -Returns an integer string giving the current access position in +Returns an integer giving the current access position in \fIchannelId\fR. This value returned is a byte offset that can be passed to \fBseek\fR in order to set the channel to a particular position. Note that this value is in terms of bytes, not characters like \fBread\fR. |