PYME.util.mProfile.tProfile module

class PYME.util.mProfile.tProfile.T

Bases: threading.Thread

Attributes

daemon A boolean value indicating whether this thread is a daemon thread (True) or not (False).
ident Thread identifier of this thread or None if it has not been started.
name A string used for identification purposes only.

Methods

run()
test_method()
run()
test_method()
PYME.util.mProfile.tProfile.get_profile_stats()

returns dict[function_tuple] -> stats_tuple where

function_tuple = (function_name, filename, lineno) stats_tuple = (call_cnt, real_time, cpu_time)
PYME.util.mProfile.tProfile.plotProfile(s)
PYME.util.mProfile.tProfile.profile_off()
PYME.util.mProfile.tProfile.profile_on(*filenames)
PYME.util.mProfile.tProfile.profiler(frame, event, arg)
PYME.util.mProfile.tProfile.runTests()
PYME.util.mProfile.tProfile.t1(depth=0)
PYME.util.mProfile.tProfile.test_function()