1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-01 05:03:53 +00:00
David Briscoe 255e3d2829 Correctly filter allocations in memory call tree
Fix #723: Memory: active allocations are incorrectly displayed in call stack tree

The range we were looking for was wrong (should be Active instead of
Inactive), but I also reworked to make the comparison clearer.

Test

Using the repro app from the bug:
1. Click "Free + Allocate" once
1. Call stack tree shows 2 entries under "Active allocations", 1 active
   allocation, 0 inactive allocations in the call stack tree.
1. Click "Free + Allocate" several times
1. Call stack tree shows 1 KB of active allocations and many KB of
   inactive.
2024-02-15 10:38:48 -08:00
..
2023-10-09 23:11:30 +02:00
2021-12-01 21:52:31 +01:00
2022-07-24 01:39:51 +02:00
2023-10-22 10:16:41 +04:00
2021-11-04 22:30:16 +01:00
2023-04-27 23:17:35 +02:00
2023-04-27 23:17:35 +02:00
2021-10-07 23:28:40 +02:00
2021-10-07 23:28:40 +02:00
2021-05-17 12:07:06 +02:00
2022-08-28 14:50:38 +02:00
2023-10-16 20:59:38 +02:00
2021-05-20 17:30:54 +02:00
2023-03-25 22:14:34 +01:00
2023-01-03 13:56:56 +01:00
2023-04-25 00:04:59 +02:00
2023-03-22 23:44:23 +01:00