mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +00:00
Display query backlog.
This commit is contained in:
parent
20e6813461
commit
78e8d4aefe
@ -985,6 +985,7 @@ bool View::DrawConnection()
|
|||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::PlotLines( buf, mbpsVector.data(), mbpsVector.size(), 0, nullptr, 0, std::numeric_limits<float>::max(), ImVec2( 150, 0 ) );
|
ImGui::PlotLines( buf, mbpsVector.data(), mbpsVector.size(), 0, nullptr, 0, std::numeric_limits<float>::max(), ImVec2( 150, 0 ) );
|
||||||
ImGui::Text( "Ratio %.1f%% Real: %6.2f Mbps", m_worker.GetCompRatio() * 100.f, mbps / m_worker.GetCompRatio() );
|
ImGui::Text( "Ratio %.1f%% Real: %6.2f Mbps", m_worker.GetCompRatio() * 100.f, mbps / m_worker.GetCompRatio() );
|
||||||
|
ImGui::Text( "Query backlog: %s", RealToString( m_worker.GetSendQueueSize(), true ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::Text( "Memory usage: %s", MemSizeToString( memUsage.load( std::memory_order_relaxed ) ) );
|
ImGui::Text( "Memory usage: %s", MemSizeToString( memUsage.load( std::memory_order_relaxed ) ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user