def run(self, func, *args):
        path = os.path.join(self.path, "cp_%04d.prof" % self.count)
        result = self.profiler.runcall(func, *args)
        self.profiler.dump_stats(path)
        return result
dataset/ETHPy150Open clips/pattern/pattern/server/cherrypy/cherrypy/lib/profiler.py/ProfileAggregator.run/original