Display query backlog.

This commit is contained in:
Bartosz Taudul 2019-04-01 19:55:54 +02:00
parent 20e6813461
commit 78e8d4aefe

View File

@ -985,6 +985,7 @@ bool View::DrawConnection()
ImGui::SameLine();
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( "Query backlog: %s", RealToString( m_worker.GetSendQueueSize(), true ) );
}
ImGui::Text( "Memory usage: %s", MemSizeToString( memUsage.load( std::memory_order_relaxed ) ) );