mirror of
https://github.com/wolfpld/tracy
synced 2025-05-02 05:33:53 +00:00
Display transferred data size.
This commit is contained in:
parent
1cfb5adc44
commit
c5a6c7bf63
@ -946,6 +946,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( "Data transferred: %s", MemSizeToString( m_worker.GetDataTransferred() ) );
|
||||||
ImGui::Text( "Query backlog: %s", RealToString( m_worker.GetSendQueueSize(), true ) );
|
ImGui::Text( "Query backlog: %s", RealToString( m_worker.GetSendQueueSize(), true ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user