(self, step)
| 408 | self.times.append((step, t, round((t - self.times[-1][1]) * 1000))) |
| 409 | |
| 410 | def checkpoint(self, step): |
| 411 | t = time.time() |
| 412 | self.times.append(('total @ ' + step, t, t - self.times[0][1])) |
| 413 | |
| 414 | def output(self): |
| 415 | self.checkpoint('end') |