timer and remaining time estimator
Syntax
sw_timeit(percent, {mode},{tid},{title})
Description
sw_timeit(percent, {mode},{fid},{title}) can display remaining time of
a calculation that is run for a fixed number of iterations. It can output
the status both in the Command Window and in a pup up window using
[waitbar].
Input Arguments
percent- Percentage of the calculation that is already done.
mode- Controls the time estimation, optional parameter:
1Starts the time estimation.0Displays of the remaining time, default value.2The calculation finished, show a summary.
tid- Determines if the elapsed and required time for the calculation is
displayed. The default value is determined by the
tidpreference stored in swpref. The following values are allowed:0No timing is displayed.1Display the timing in the Command Window.2Show the timing in a separat pup-up window.
title- The text to show in the pup up window.
See Also
[waitbar]