mirror of
https://github.com/wolfpld/tracy
synced 2025-05-06 07:03:52 +00:00
Display memory span.
This commit is contained in:
parent
821b08fbe4
commit
38edf308fa
@ -3807,7 +3807,11 @@ void View::DrawMemory()
|
|||||||
|
|
||||||
ImGui::Begin( "Memory", &m_memInfo.show );
|
ImGui::Begin( "Memory", &m_memInfo.show );
|
||||||
|
|
||||||
ImGui::Text( "Total allocations: %-10s Active allocations: %-10s Memory usage: %s bytes", RealToString( mem.data.size(), true ), RealToString( mem.active.size(), true ), RealToString( mem.usage, true ) );
|
ImGui::Text( "Total allocations: %-15s Active allocations: %-15s Memory usage: %-15s Memory span: %s",
|
||||||
|
RealToString( mem.data.size(), true ),
|
||||||
|
RealToString( mem.active.size(), true ),
|
||||||
|
RealToString( mem.usage, true ),
|
||||||
|
RealToString( mem.high - mem.low, true ) );
|
||||||
|
|
||||||
ImGui::InputText( "", m_memInfo.pattern, 1024 );
|
ImGui::InputText( "", m_memInfo.pattern, 1024 );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user