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

Track trace version in worker.

This commit is contained in:
Bartosz Taudul
2018-07-29 15:33:48 +02:00
parent 13509c14f1
commit 9f13475b52
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -232,6 +232,7 @@ public:
void Shutdown() { m_shutdown.store( true, std::memory_order_relaxed ); }
void Write( FileWrite& f );
int GetTraceVersion() const { return m_traceVersion; }
static const LoadProgress& GetLoadProgress() { return s_loadProgress; }
@@ -377,6 +378,8 @@ private:
DataBlock m_data;
MbpsBlock m_mbpsData;
int m_traceVersion;
static LoadProgress s_loadProgress;
};