1
0
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:
Bartosz Taudul 2018-04-02 20:00:05 +02:00
parent 78ebf37039
commit 1bb1cf9e6c

View File

@ -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();