tornado_profile.py
def post(self):
        """Start a new profiler."""
        CProfileWrapper.profiler = cProfile.Profile()
        CProfileWrapper.profiler.enable()
        self.running = True
        self.set_status(201)
        self.finish()
def post(self):
        """Start a new profiler."""
        CProfileWrapper.profiler = cProfile.Profile()
        CProfileWrapper.profiler.enable()
        self.running = True
        self.set_status(201)
        self.finish()
Start a new profiler.