TIC
From Jacket Wiki
(Redirected from TOC)
Back to Function List
Measure performance using stopwatch timer
Usage
| Jacket for M Language | |||||||||||
| Supported Syntax | |||||||||||
tic; any_statements; toc; tic; any_statements; tElapsed=toc; tStart=tic; any_statements; toc(tStart); tStart=tic; any_statements; tElapsed=toc(tStart); |
|||||||||||
|
|||||||||||
Notes
Be sure to use GEVAL and GSYNC properly with TIC/TOC statements to make sure that Jacket's lazy evaluation has finished before the final TOC. Use TIMEIT for robust timing of both GPU and CPU code.