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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user