tracetools_analysis.data_model.profile module

Module for profile data model.

class tracetools_analysis.data_model.profile.ProfileDataModel

Bases: DataModel

Container to model pre-processed profiling data for analysis.

Duration is the time difference between the function entry and the function exit. Actual duration is the actual time spent executing the function (or a child function).

add_duration(tid: int, depth: int, function_name: str, parent_name: str | None, start_timestamp: int, duration: int, actual_duration: int) None
print_data() None

Print the data model.