PyCallGraph — Main interface to Python Call Graph

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

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

reset()

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

start(reset=True)

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

stop()

Stops the currently running trace, if any.