Package cherrypy :: Package lib :: Module profiler :: Class Profiler
[hide private]
[frames] | no frames]

Class Profiler

source code

object --+
         |
        Profiler
Known Subclasses:
ProfileAggregator

Instance Methods [hide private]
 
__init__(self, path=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
run(func, *args, **params)
Dumps profile data into self.path.
source code
 
statfiles()
Returns: list of available profiles.
source code
 
stats(index)
Returns: output of print_stats() for the given profile.
source code
 
index(self) source code
 
menu(self) source code
 
report(self, filename) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, path=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

statfiles()

source code 
Returns:
list of available profiles.

stats(index)

source code 
Returns:
output of print_stats() for the given profile.