Tcl 8.4.1 Manual Command Reference

time

|Tcl 8.4.1Command Reference TOP | Tcl TOP | HOME |

コマンド名

time - スクリプトの実行時間を計ります。

構文

time script ?count?

解説

このコマンドはscript を評価するTclインタープリタをcount回 (もしくはカウントが指定されない場合、1度だけ)呼び出します 。 下記のフォーマットで結果を返します。

503 microseconds per iteration

マイクロセカンド単位で、平均の1ループにつき必要とされる時間を示します。CPU時間ではなく、経過した時間は測定されます。

参照

clock

キーワード

script, time


Copyright © 1993 The Regents of the University of California.
Copyright © 1994-1996 Sun Microsystems, Inc.
Copyright © 1995-1997 Roger E. Critchlow Jr.