tracetools_analysis.data_model package

Submodules

Module contents

Base data model module.

class tracetools_analysis.data_model.DataModel

Bases: object

Container with pre-processed data for an analysis to use.

Contains data for an analysis to use. This is a middleground between trace events data and the output data of an analysis. It uses native/simple Python data structures (e.g. lists of dicts) during processing, but converts them to pandas DataFrame at the end.

finalize() None

Finalize the data model.

Call this once data is done being generated or added to the model. Finalization tasks are up to the inheriting/concrete class.

print_data() None

Print the data model.