Skip to content

Commit

Permalink
Update py_class_timer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kylek29 authored May 5, 2018
1 parent 2b034b2 commit d964ced
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions py_class_timer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
Created on Sun Apr 22 16:23:55 2018
@author: kylek
Real quick timer object for duration calculation.
If you want a singular timer object that can be started and stopped (paused) linearly, just use one timer object. If you need
multiple timers that have differing start/stops (overlapping), create multiple objects, like:
timer_A = Timer()
timer_B = Timer()
You can reset the timer object with object_name.reset(). The last sum of timer intervals will be stored in object_name.last_timer for future referencing.
"""

import time
Expand Down

0 comments on commit d964ced

Please sign in to comment.