docs: def reset_stats(self):
          """Reset accumulated profiler statistics."""
          # Note: not using self.Profile, since pstats.Stats() fails then
          self.stats = pstats.Stats(Profile())
          self.ncalls = 0
          self.skipped = 0