Changeset 2012
- Timestamp:
- 07/03/08 00:51:43
- Files:
-
- trunk/cherrypy/lib/profiler.py (modified) (1 diff)
- trunk/cherrypy/process/plugins.py (modified) (2 diffs)
- trunk/cherrypy/process/win32.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/lib/profiler.py
r1985 r2012 161 161 class make_app: 162 162 def __init__(self, nextapp, path=None, aggregate=False): 163 """Make a WSGI middleware app which wraps 'nextapp' with profiling.""" 163 """Make a WSGI middleware app which wraps 'nextapp' with profiling. 164 165 nextapp: the WSGI application to wrap, usually an instance of 166 cherrypy.Application. 167 path: where to dump the profiling output. 168 aggregate: if True, profile data for all HTTP requests will go in 169 a single file. If False (the default), each HTTP request will 170 dump its profile data into a separate file. 171 """ 164 172 self.nextapp = nextapp 165 173 self.aggregate = aggregate trunk/cherrypy/process/plugins.py
r2006 r2012 22 22 """Register this object as a (multi-channel) listener on the bus.""" 23 23 for channel in self.bus.listeners: 24 # Subscribe self.start, self.exit, etc. if present. 24 25 method = getattr(self, channel, None) 25 26 if method is not None: … … 29 30 """Unregister this object as a listener on the bus.""" 30 31 for channel in self.bus.listeners: 32 # Unsubscribe self.start, self.exit, etc. if present. 31 33 method = getattr(self, channel, None) 32 34 if method is not None: trunk/cherrypy/process/win32.py
r1989 r2012 72 72 """A Web Site Process Bus implementation for Win32. 73 73 74 Instead of using time.sleep for blocking, this bus uses native 75 win32event objects. It also responds to console events. 74 Instead of time.sleep, this bus blocks using native win32event objects. 76 75 """ 77 76

