BUILT-IN MATHEMATICA SYMBOL
$TimeUnit
$TimeUnit
gives the minimum time interval in seconds recorded on your computer system.
- Typical values for $TimeUnit are 1/100 and 1/1000.
- $TimeUnit determines the minimum granularity of measurement in functions like Timing and DateList.
- In some functions the actual time granularity may be much smaller than $TimeUnit.
The timing granularity on this machine:
| Out[1]= |  |
When a computation takes less than $TimeUnit seconds, repeat to get a better timing:
| Out[1]= |  |
| Out[2]= |  |
| Out[3]= |  |
Divide by the number of repetitions to get the average timing:
| Out[4]= |  |
You may want to time just a part of the computation:
| Out[5]= |  |
New in 2