1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Allow requesting reconnect on trace discard.

This commit is contained in:
Bartosz Taudul
2020-03-06 22:11:17 +01:00
parent d25614d50f
commit 9668234903
2 changed files with 12 additions and 1 deletions
+3
View File
@@ -81,6 +81,7 @@ public:
void NotifyRootWindowSize( float w, float h ) { m_rootWidth = w; m_rootHeight = h; }
void SetTextEditorFile( const char* fileName, int line );
bool ReconnectRequested() const { return m_reconnectRequested; }
std::string GetAddress() const { return m_worker.GetAddr(); }
int GetPort() const { return m_worker.GetPort(); }
@@ -411,6 +412,8 @@ private:
std::vector<std::unique_ptr<Annotation>> m_annotations;
UserData m_userData;
bool m_reconnectRequested = false;
struct FindZone {
enum : uint64_t { Unselected = std::numeric_limits<uint64_t>::max() - 1 };
enum class GroupBy : int { Thread, UserText, Callstack, Parent, NoGrouping };