(self)
| 24 | self._numFrames += 1 |
| 25 | |
| 26 | def elapsed(self): |
| 27 | # return the total number of seconds between the start and |
| 28 | # end interval |
| 29 | return (self._end - self._start).total_seconds() |
| 30 | |
| 31 | def fps(self): |
| 32 | # compute the (approximate) frames per second |
no outgoing calls
no test coverage detected