PyDocs

Nav

Debugging and profiling

StatisticDiff

  • StatisticDiff(traceback, size, size_diff, count, count_diff)
Statistic difference on memory allocations between an old and a new
Snapshot instance.
Members of StatisticDiff

c

count
Number of memory blocks in the new snapshot (int): 0 if the memory blocks have been released in the new snapshot.
count_diff
Difference of number of memory blocks between the old and the new snapshots (int): 0 if the memory blocks have been allocated in the new snapshot.

s

size
Total size of memory blocks in bytes in the new snapshot (int): 0 if the memory blocks have been released in the new snapshot.
size_diff
Difference of total size of memory blocks in bytes between the old and the new snapshots (int): 0 if the memory blocks have been allocated in the new snapshot.

t

traceback
Traceback where the memory blocks were allocated, Traceback instance.
0 Examples
No examples for tracemalloc/StatisticDiff.
See Also
No see-alsos for tracemalloc/StatisticDiff
0 Notes
No notes for StatisticDiff