(self, total=False)
| 71 | self.t = time.time() |
| 72 | |
| 73 | def toc(self, total=False): |
| 74 | if total: |
| 75 | return (time.time() - self.t_init) * 1000 |
| 76 | |
| 77 | assert self.t, 'You forgot to call tic()' |
| 78 | return (time.time() - self.t) * 1000 |
| 79 | |
| 80 | def tocp(self, str): |
| 81 | t = self.toc() |
no outgoing calls
no test coverage detected