hotshot.stats
index
/usr/local/lib/python2.5/hotshot/stats.py
Module Docs

Statistics analyzer for HotShot.

 
Modules
       
hotshot
profile
pstats

 
Classes
       
FakeCode
FakeFrame
StatsLoader
profile.Profile
Profile

 
class FakeCode
     Methods defined here:
__init__(self, filename, firstlineno, funcname)

 
class FakeFrame
     Methods defined here:
__init__(self, code, back)

 
class Profile(profile.Profile)
     Methods defined here:
simulate_cmd_complete(self)

Methods inherited from profile.Profile:
__init__(self, timer=None, bias=None)
calibrate(self, m, verbose=0)
create_stats(self)
dump_stats(self, file)
print_stats(self, sort=-1)
run(self, cmd)
runcall(self, func, *args, **kw)
# This method is more useful to profile a single function call.
runctx(self, cmd, globals, locals)
set_cmd(self, cmd)
simulate_call(self, name)
snapshot_stats(self)
trace_dispatch(self, frame, event, arg)
trace_dispatch_c_call(self, frame, t)
trace_dispatch_call(self, frame, t)
trace_dispatch_exception(self, frame, t)
trace_dispatch_i(self, frame, event, arg)
trace_dispatch_l(self, frame, event, arg)
trace_dispatch_mac(self, frame, event, arg)
trace_dispatch_return(self, frame, t)

Data and other attributes inherited from profile.Profile:
bias = 0
dispatch = {'c_call': <function trace_dispatch_c_call at 0xb66b2b8c>, 'c_exception': <function trace_dispatch_return at 0xb66b2bc4>, 'c_return': <function trace_dispatch_return at 0xb66b2bc4>, 'call': <function trace_dispatch_call at 0xb66b2b54>, 'exception': <function trace_dispatch_exception at 0xb66b2b1c>, 'return': <function trace_dispatch_return at 0xb66b2bc4>}
fake_code = <class profile.fake_code at 0xb66a735c>
fake_frame = <class profile.fake_frame at 0xb66a7cec>

 
class StatsLoader
     Methods defined here:
__init__(self, logfn)
load(self)
new_frame(self, *args)

 
Functions
       
load(filename)

 
Data
        ENTER = 0
EXIT = 1