PyCallGraph — Main interface to Python Call Graph

class pycallgraph.PyCallGraph(output=None, config=None)[source]
done()[source]

Stops the trace and tells the outputters to generate their output.

reset()[source]

Resets all collected statistics. This is run automatically by start(reset=True) and when the class is initialized.

start(reset=True)[source]

Begins a trace. Setting reset to True will reset all previously recorded trace data.

stop()[source]

Stops the currently running trace, if any.