mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Ghost index is only available is statistics are enabled.
This commit is contained in:
parent
067189c355
commit
994b88f898
@ -3441,7 +3441,9 @@ ThreadData* Worker::NewThread( uint64_t thread )
|
|||||||
td->id = thread;
|
td->id = thread;
|
||||||
td->count = 0;
|
td->count = 0;
|
||||||
td->nextZoneId = 0;
|
td->nextZoneId = 0;
|
||||||
|
#ifndef TRACY_NO_STATISTICS
|
||||||
td->ghostIdx = 0;
|
td->ghostIdx = 0;
|
||||||
|
#endif
|
||||||
m_data.threads.push_back( td );
|
m_data.threads.push_back( td );
|
||||||
m_threadMap.emplace( thread, td );
|
m_threadMap.emplace( thread, td );
|
||||||
m_data.threadDataLast.first = thread;
|
m_data.threadDataLast.first = thread;
|
||||||
|
Loading…
Reference in New Issue
Block a user