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

Store explicit program name and capture time.

This commit is contained in:
Bartosz Taudul
2018-08-29 00:57:11 +02:00
parent 128577d7bf
commit 8f1acf2571
3 changed files with 45 additions and 1 deletions
+4
View File
@@ -177,6 +177,8 @@ public:
const std::string& GetAddr() const { return m_addr; }
const std::string& GetCaptureName() const { return m_captureName; }
const std::string& GetCaptureProgram() const { return m_captureProgram; }
uint64_t GetCaptureTime() const { return m_captureTime; }
const std::string& GetHostInfo() const { return m_hostInfo; }
int64_t GetDelay() const { return m_delay; }
int64_t GetResolution() const { return m_resolution; }
@@ -379,6 +381,8 @@ private:
int64_t m_resolution;
double m_timerMul;
std::string m_captureName;
std::string m_captureProgram;
uint64_t m_captureTime;
std::string m_hostInfo;
bool m_terminate;
bool m_crashed;