| 115 | uint32_t m_OverflowDepth; |
| 116 | |
| 117 | ThreadData(int32_t thread_id) |
| 118 | : m_ThreadId(thread_id) |
| 119 | { |
| 120 | memset(this, 0, sizeof(*this)); |
| 121 | m_Root.m_NameHash = HashString32("Root"); |
| 122 | |
| 123 | // mustn't reallocate as we use pointers directly into this array |
| 124 | m_SamplePool.SetCapacity(g_MaxSampleCount); |
| 125 | m_SamplePool.SetSize(0); |
| 126 | |
| 127 | ResetThreadData(this); |
| 128 | } |
| 129 | }; |
| 130 | |
| 131 | static Sample* AllocateNewSample(ThreadData* td) |
nothing calls this directly
no test coverage detected