High-performance profiler object.
close(): Stop the profiler and close the log files. fileno():
Returns the file descriptor of the log file. runcall(): Run a single
function call with profiling enabled. runcode(): Execute a code object
with profiling enabled. start(): Install the profiler and return.
stop(): Remove the profiler.
closed: True if the profiler has already been closed.
frametimings: True if ENTER/EXIT events collect timing information.
lineevents: True if line events are reported to the profiler.
linetimings: True if line events collect timing information.
|
|
|
addinfo(key,
value)
Insert an ADD_INFO record into the log. |
|
|
|
close()
Shut down this profiler and close the log files, even if its active. |
|
|
file descriptor
|
fileno()
Returns the file descriptor for the log file, if open. |
|
|
callable()
|
runcall(callable,
args=...,
kw=...)
Profile a specific function call, returning the result of that call. |
|
|
|
runcode(code,
globals,
locals=...)
Execute a code object while collecting profile data. |
|
|
|
start()
Install this profiler for the current thread. |
|
|
|
stop()
Remove this profiler from the current thread. |
|
|
Inherited from object :
__delattr__ ,
__hash__ ,
__init__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|