_hotshot (version 1.11)
index
/usr/lib/python2.2/lib-dynload/_hotshot.so

 
Classes
            
exceptions.Exception
hotshot.ProfilerError
__builtin__.object
LogReaderType
ProfilerType
 
class LogReaderType(__builtin__.object)
      logreader(filename) --> log-iterator
Create a log-reader for the timing information file.
 
   Methods defined here:
__getitem__(...)
x.__getitem__(y) <==> x[y]
__iter__(...)
x.__iter__() <==> iter(x)
next(...)
x.next() -> the next value, or raise StopIteration

Methods inherited from __builtin__.object:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__hash__(...)
x.__hash__() <==> hash(x)
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__reduce__(...)
helper for pickle
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__str__(...)
x.__str__() <==> str(x)

Data and non-method functions inherited from __builtin__.object:
__class__ = <type 'type'>
the object's class
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T
 
class ProfilerError(exceptions.Exception)
       
   Data and non-method functions defined here:
__doc__ = None
__module__ = 'hotshot'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class ProfilerType(__builtin__.object)
      High-performance profiler object.
 
Methods:
 
close():      Stop the profiler and close the log files.
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.
 
Attributes (read-only):
 
closed:       True if the profiler has already been closed.
frametimings: True if ENTER/EXIT events collect timing information.
lineevents:   True if SET_LINENO events are reported to the profiler.
linetimings:  True if SET_LINENO events collect timing information.
 
   Methods inherited from __builtin__.object:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__hash__(...)
x.__hash__() <==> hash(x)
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__reduce__(...)
helper for pickle
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__str__(...)
x.__str__() <==> str(x)

Data and non-method functions inherited from __builtin__.object:
__class__ = <type 'type'>
the object's class
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T
 
Functions
            
coverage(...)
coverage(logfilename) -> profiler
Returns a profiler that doesn't collect any timing information, which is
useful in building a coverage analysis tool.
logreader(...)
logreader(filename) --> log-iterator
Create a log-reader for the timing information file.
profiler(...)
profiler(logfilename[, lineevents[, linetimes]]) -> profiler
Create a new profiler object.
resolution(...)
resolution() -> (gettimeofday-usecs, getrusage-usecs)
Return the resolution of the timers provided by the gettimeofday() and
getrusage() system calls, or -1 if the call is not supported.
 
Data
             WHAT_ADD_INFO = 19
WHAT_DEFINE_FILE = 35
WHAT_DEFINE_FUNC = 67
WHAT_ENTER = 0
WHAT_EXIT = 1
WHAT_LINENO = 2
WHAT_LINE_TIMES = 51
WHAT_OTHER = 3
__file__ = '/usr/lib/python2.2/lib-dynload/_hotshot.so'
__name__ = '_hotshot'
__version__ = '1.11'