Module _hotshot
[hide private]
[frames] | no frames]

Module _hotshot


Version: 51218

Classes [hide private]
LogReaderType
logreader(filename) --> log-iterator Create a log-reader for the timing information file.
ProfilerType
High-performance profiler object.
Functions [hide private]
profiler
coverage(logfilename)
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=...)
Create a new profiler object.
(gettimeofday-usecs, getrusage-usecs)
resolution()
Return the resolution of the timers provided by the gettimeofday() and getrusage() system calls, or -1 if the call is not supported.
Variables [hide private]
  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

Imports: ProfilerError