mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00:00
ProfileViewer: Only show live allocations by default
For memory profiles, we now keep track of which allocations are still live at the end of the selected timeline range and only show those. This is really cool, I have to admit. :^)
This commit is contained in:
parent
266d7ca268
commit
9dc78338ad
2 changed files with 37 additions and 0 deletions
|
@ -120,6 +120,9 @@ public:
|
|||
|
||||
struct Sample {
|
||||
u64 timestamp { 0 };
|
||||
String type;
|
||||
uintptr_t ptr { 0 };
|
||||
size_t size { 0 };
|
||||
bool in_kernel { false };
|
||||
Vector<Frame> frames;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue