def run(self, func, *args, **params):
        """Dump aggeregated profile data into ``self.path``."""
        path = os.path.join(self.path, 'cp_%04d.prof' % self.count)
        result = self.profiler.runcall(func, *args, **params)
        self.profiler.dump_stats(path)
        return result
Dump aggeregated profile data into ``self.path``.
cherrypy/lib/profiler.py