OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tcl/] [doc/] [time.n] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
'\"
2
'\" Copyright (c) 1993 The Regents of the University of California.
3
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
4
'\"
5
'\" See the file "license.terms" for information on usage and redistribution
6
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
7
'\"
8
'\" RCS: @(#) $Id: time.n,v 1.1.1.1 2002-01-16 10:25:25 markom Exp $
9
'\"
10
.so man.macros
11
.TH time n "" Tcl "Tcl Built-In Commands"
12
.BS
13
'\" Note:  do not modify the .SH NAME line immediately below!
14
.SH NAME
15
time \- Time the execution of a script
16
.SH SYNOPSIS
17
\fBtime \fIscript\fR ?\fIcount\fR?
18
.BE
19
 
20
.SH DESCRIPTION
21
.PP
22
This command will call the Tcl interpreter \fIcount\fR
23
times to evaluate \fIscript\fR (or once if \fIcount\fR isn't
24
specified).  It will then return a string of the form
25
.CS
26
\fB503 microseconds per iteration\fR
27
.CE
28
which indicates the average amount of time required per iteration,
29
in microseconds.
30
Time is measured in elapsed time, not CPU time.
31
 
32
.SH KEYWORDS
33
script, time

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.