Labels a window with elapsed tic/toc seconds.
TOCLABEL(window)
window |
- |
Optional. Window reference. Defaults to the current Window. |
Nothing, the window is labeled with the value of TOC in seconds.
W1: gnorm(1024 * 512, 1)
W2: tic;fft(w1);toclabel
W2 is labeled with the approximate time to calculate the FFT of W1.
TOCLABEL labels a window with the elapsed time since the last TIC command with a precision of approximately 0.00001 seconds, i.e. 10 microseconds. The interval timer is not reset.
TOCLABEL is useful for profiling the time performance of operations that result in a window series.