Stops a timer.
TimerStop (hTimer)
Variable | Description |
---|---|
hTimer | A handle to the timer to stop. HTIMER. |
TimerStop stops the specified timer. The timer will record the time that elapsed since you started it with TimerStart, minus the time (if any) that it was paused.
[ ] STRING sOverallTime [ ] HTIMER TotalTimer [ ] TotalTimer = TimerCreate () [ ] TimerStart (TotalTimer) [ ] // ... [ ] TimerStop (TotalTimer) [ ] sOverallTime = TimerStr (TotalTimer) [ ] Print ("All code executed in {sOverallTime} seconds") [ ] TimerDestroy (TotalTimer)