1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-07 15:33:52 +00:00

Store on-demand connection state.

This commit is contained in:
Bartosz Taudul 2018-07-12 01:21:04 +02:00
parent dacbfbd031
commit e5064dec1e
2 changed files with 2 additions and 0 deletions

View File

@ -987,6 +987,7 @@ void Worker::Exec()
m_data.lastTime = m_data.frames.back();
m_delay = TscTime( welcome.delay );
m_resolution = TscTime( welcome.resolution );
m_onDemand = welcome.onDemand;
char dtmp[64];
time_t date = welcome.epoch;

View File

@ -328,6 +328,7 @@ private:
LZ4_streamDecode_t* m_stream;
char* m_buffer;
int m_bufferOffset;
bool m_onDemand;
GpuCtxData* m_gpuCtxMap[256];
flat_hash_map<uint64_t, StringLocation, nohash<uint64_t>> m_pendingCustomStrings;