Hardware independent time unit
This functionality does not run in MATLAB.
prog::ntime() returns a time unit that represents roughly the speed of the current machine for typical library programs.
prog::ntime can be used to perform timing tests of typical MuPAD® library programs on different machines.
prog::ntime uses a mix of different operations to calculate the time factor.
One call to prog::ntime takes about 1.5 seconds.
A real timing value must be divided by the value of prog::ntime, to get a machine independent timing value.
On this machine, a timing must be divided by the value of prog::ntime, then the timing is comparable with the timing of the same code on another machine, also divided by the value of prog::ntime on the other machine: