time(3)

多次执行一个脚本 · man3 · 简体中文

time(3tcl) Tcl Built-In Commands time(3tcl)

 

time - 多次执行一个脚本

time script ?count?

 

这个命令将 count 次调用 Tcl 解释器求值 script (如果未指定 count 则为一次)。它将返回下面这种形式的一个字符串

503 microseconds per iteration
它指示每次重复操作(iteration)所需时间的平均值,以微秒为单位。测量时间使用流(elapsed)时间,而不是 CPU 时间。

clock(n)

script, time

寒蝉退士

2001/11/20

http://cmpp.linuxforum.net

本页面中文版由中文 man 手册页计划提供。
中文 man 手册页计划:https://github.com/man-pages-zh/manpages-zh

Tcl