fabianp/yep — Issue #1: Use trace function for finer profiling
Author: fabianp
Created: 2011-10-16 08:42:21+00:00
State: open

Use this:

http://docs.python.org/library/sys.html#sys.settrace

in combination with the 'c_call' event to activate/deactivate the profiler.