mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +00:00
Display host info.
This commit is contained in:
parent
203d9b4b85
commit
71bfd15d9e
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user