(self)
| 4 | class Timer(object): |
| 5 | """A simple timer.""" |
| 6 | def __init__(self): |
| 7 | self.total_time = 0. |
| 8 | self.calls = 0 |
| 9 | self.start_time = 0. |
| 10 | self.diff = 0. |
| 11 | self.average_time = 0. |
| 12 | |
| 13 | self.duration = 0. |
| 14 | |
| 15 | def tic(self): |
| 16 | # using time.time instead of time.clock because time time.clock |
nothing calls this directly
no outgoing calls
no test coverage detected