mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Draw active allocations list.
This commit is contained in:
parent
c4a36398f6
commit
e1682c7675
@ -3808,6 +3808,16 @@ void View::DrawMemory()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ImGui::Separator();
|
||||||
|
if( ImGui::TreeNode( "Active allocations" ) )
|
||||||
|
{
|
||||||
|
ListMemData<decltype( mem.active.begin() )>( mem.active.begin(), mem.active.end(), []( auto& v ) {
|
||||||
|
ImGui::Text( "0x%" PRIx64, v->second->ptr );
|
||||||
|
return v->second;
|
||||||
|
} );
|
||||||
|
ImGui::TreePop();
|
||||||
|
}
|
||||||
|
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user