Class Profile
object --+
|
_lsprof.Profiler --+
|
Profile
Profile(custom_timer=None, time_unit=None, subcalls=True,
builtins=True)
Builds a profiler object using the specified timer function. The
default timer is a fast built-in one based on real time. For custom timer
functions returning integers, time_unit can be a float specifying a scale
(i.e. how long each integer unit is, in seconds).
|
|
| print_stats(self,
sort=-1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| runctx(self,
cmd,
globals,
locals) |
|
|
|
|
| runcall(self,
func,
*args,
**kw) |
|
|
|
Inherited from _lsprof.Profiler:
__init__,
__new__,
clear,
disable,
enable,
getstats
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|