StopWatch: StopCount |
Halts the StopWatch if it is running, storing the elapsed time so far.
Public Sub StopCount ( )
If StartCount is called again, the elapsed time is not reset. The elapsed time is increased as normal, but does not reflect the time spent while the StopWatch was not running.
Using the StartCount and StopCount allows for timing of only portions that are prefered and accumulates only those portions. The elapsed time properties will reflect the sum total of those timed portions. Calling Reset will set the elapsed time to zero.