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).
|
__init__(custom_timer=None,
time_unit=None,
subcalls=True,
builtins=True)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
a new object with type S, a subtype of T
|
|
|
clear()
Clear all profiling information collected so far. |
|
|
|
disable()
Stop collecting profiling information. |
|
|
|
enable(subcalls=True,
builtins=True)
Start collecting profiling information. |
|
|
list of profiler_entry objects
|
getstats()
Return all information collected by the profiler. |
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|