(self, sort=-1)
| 53 | # This subclass only adds convenient and backward-compatible methods. |
| 54 | |
| 55 | def print_stats(self, sort=-1): |
| 56 | import pstats |
| 57 | if not isinstance(sort, tuple): |
| 58 | sort = (sort,) |
| 59 | pstats.Stats(self).strip_dirs().sort_stats(*sort).print_stats() |
| 60 | |
| 61 | def dump_stats(self, file): |
| 62 | import marshal |
no test coverage detected