Functions > Miscellaneous Functions > Timing Execution
Timing Execution
time(z)—Returns the current system time. This function is useful for approximating the execution time of an evaluation or series of evaluations.
The time function returns the relative system time when executed. These times are not useful by themselves. The best use of the function is to first assign the output of time to one variable before a long calculation, then to another variable after the calculation. Next find the difference between the two variables. Recalculate the document after defining the two variables to give a fresh start to the timing mechanism.
* 
Calculation time is affected by other simultaneous operations on your computer outside of PTC Mathcad.
Arguments
z is any arbitrary valid PTC Mathcad expression. Its value has no impact on the calculation.
Was this helpful?