(self)
| 10 | class Timer(object): |
| 11 | """A simple timer.""" |
| 12 | def __init__(self): |
| 13 | self.total_time = 0. |
| 14 | self.calls = 0 |
| 15 | self.start_time = 0. |
| 16 | self.diff = 0. |
| 17 | self.average_time = 0. |
| 18 | self.warm_up = 0 |
| 19 | |
| 20 | def tic(self): |
| 21 | # using time.time instead of time.clock because time time.clock |
nothing calls this directly
no outgoing calls
no test coverage detected