output.Output — Base class for all output modules

class pycallgraph.output.Output(**kwargs)[source]

Base class for all outputters.

done()[source]

Called when the trace is complete and ready to be saved.

sanity_check()[source]

Basic checks for certain libraries or external applications. Raise or warn if there is a problem.

set_config(config)[source]

This is a quick hack to move the config variables set in Config into the output module config variables.

should_update()[source]

Return True if the update method should be called periodically.

start()[source]

Initialise variables after initial configuration.

update()[source]

Called periodically during a trace, but only when should_update is set to True.