Display host info.

This commit is contained in:
Bartosz Taudul 2018-08-19 18:24:43 +02:00
parent 203d9b4b85
commit 71bfd15d9e
2 changed files with 3 additions and 0 deletions

View File

@ -6263,6 +6263,8 @@ void View::DrawInfo()
ImGui::Separator(); ImGui::Separator();
TextFocused( "Frame set:", m_frames->name == 0 ? "Frames" : m_worker.GetString( m_frames->name ) ); TextFocused( "Frame set:", m_frames->name == 0 ? "Frames" : m_worker.GetString( m_frames->name ) );
TextFocused( "Count:", RealToString( m_frames->frames.size(), true ) ); TextFocused( "Count:", RealToString( m_frames->frames.size(), true ) );
ImGui::Separator();
TextFocused( "Host info:", m_worker.GetHostInfo().c_str() );
ImGui::End(); ImGui::End();
} }

View File

@ -174,6 +174,7 @@ public:
const std::string& GetAddr() const { return m_addr; } const std::string& GetAddr() const { return m_addr; }
const std::string& GetCaptureName() const { return m_captureName; } const std::string& GetCaptureName() const { return m_captureName; }
const std::string& GetHostInfo() const { return m_hostInfo; }
int64_t GetDelay() const { return m_delay; } int64_t GetDelay() const { return m_delay; }
int64_t GetResolution() const { return m_resolution; } int64_t GetResolution() const { return m_resolution; }