summaryrefslogtreecommitdiff
path: root/cherrypy/lib/profiler.py
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2008-07-03 05:51:43 +0000
committerRobert Brewer <fumanchu@aminus.org>2008-07-03 05:51:43 +0000
commit1df231d2dfadc669b57c29dfcdc690f9bc6bda75 (patch)
tree953cae89feb97f968ebb0ae420c56eeac4b0a2b6 /cherrypy/lib/profiler.py
parent9eb0bb87b50dc7c675b559d0c1cbcce940d6308d (diff)
downloadcherrypy-git-1df231d2dfadc669b57c29dfcdc690f9bc6bda75.tar.gz
Doc tweaks.
Diffstat (limited to 'cherrypy/lib/profiler.py')
-rw-r--r--cherrypy/lib/profiler.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/cherrypy/lib/profiler.py b/cherrypy/lib/profiler.py
index 9d5481dd..704fec47 100644
--- a/cherrypy/lib/profiler.py
+++ b/cherrypy/lib/profiler.py
@@ -160,7 +160,15 @@ class ProfileAggregator(Profiler):
class make_app:
def __init__(self, nextapp, path=None, aggregate=False):
- """Make a WSGI middleware app which wraps 'nextapp' with profiling."""
+ """Make a WSGI middleware app which wraps 'nextapp' with profiling.
+
+ nextapp: the WSGI application to wrap, usually an instance of
+ cherrypy.Application.
+ path: where to dump the profiling output.
+ aggregate: if True, profile data for all HTTP requests will go in
+ a single file. If False (the default), each HTTP request will
+ dump its profile data into a separate file.
+ """
self.nextapp = nextapp
self.aggregate = aggregate
if aggregate: