| 54 | TracingContext tracing; |
| 55 | |
| 56 | Allocator* GetMainAllocator() { |
| 57 | if (!main_allocator_) { |
| 58 | main_allocator_.reset(new Allocator); |
| 59 | } |
| 60 | return main_allocator_.get(); |
| 61 | } |
| 62 | |
| 63 | void EnsureNPerThreadStates(int thread_count) { |
| 64 | while (per_thread_states.size() < static_cast<std::size_t>(thread_count)) { |