tracetools_analysis.data_model.memory_usage module

Module for memory usage data model.

class tracetools_analysis.data_model.memory_usage.MemoryUsageDataModel

Bases: DataModel

Container to model pre-processed memory usage data for analysis.

Contains changes in memory allocation (e.g. + for malloc, - for free) with the corresponding timestamp.

add_memory_difference(timestamp: int, tid: int, memory_diff: int) None
print_data() None

Print the data model.