|Download Help (Windows Only)|
Owning Class: timing
Requires: MathScript RT Module
Stops the stopwatch timer and outputs the elapsed time in seconds. Use timerstop with timerstart to determine the computation time of a specific code segment. (Real-Time Module) Use the rt_tickcount function for high-precision timing when running MathScript code on an RT target.
When you call this function in a MathScript Node with debugging disabled, LabVIEW operates with slightly reduced run-time performance for the node. This behavior causes timing results to differ from the timing and execution characteristics of the VI when you are not timing it with this function. To avoid this behavior, you can use the Timing VIs and functions outside of the MathScript Node.
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
for i = 1:100000
a = sqrt(2);