mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 14:03:52 +00:00
Display memory map information.
This commit is contained in:
parent
78ebf37039
commit
1bb1cf9e6c
@ -3947,6 +3947,8 @@ void View::DrawMemory()
|
|||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
if( ImGui::TreeNode( "Memory map" ) )
|
if( ImGui::TreeNode( "Memory map" ) )
|
||||||
{
|
{
|
||||||
|
ImGui::Text( "Single pixel: %s KB Single line: %s KB", RealToString( ( 1 << ChunkBits ) / 1024, true ), RealToString( PageChunkSize / 1024, true ) );
|
||||||
|
|
||||||
auto pages = GetMemoryPages();
|
auto pages = GetMemoryPages();
|
||||||
|
|
||||||
size_t lines = pages.size();
|
size_t lines = pages.size();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user