def _setup(self):
        if appstats.get('Enabled', False):
            cherrypy.Tool._setup(self)
            self.record_start()
Decorator to select synchronous or asynchronous reader mode.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/cherrypy/cherrypy/lib/cpstats.py/StatsTool._setup--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/db/api.py/select_db_reader_mode