timer function that displays also the remaining time SW_STATUS(percent, {mode}) Input: percent Percentage of the calculation that is done. mode Determines the time estimation, optional parameter: 1 Starts the time estimation. 0 Displays of the remaining time. (default) 2 Calculation finished.