| 141 | |
| 142 | class MemoryPoolMemoryManager : public benchmark::MemoryManager { |
| 143 | void Start() override { |
| 144 | memory_pool = std::make_shared<ProxyMemoryPool>(default_memory_pool()); |
| 145 | |
| 146 | MemoryPool* default_pool = default_memory_pool(); |
| 147 | global_allocations_start = default_pool->num_allocations(); |
| 148 | } |
| 149 | |
| 150 | // BENCHMARK_DONT_OPTIMIZE is used here to detect Google Benchmark |
| 151 | // 1.8.0. We can remove this Stop(Result*) when we require Google |
nothing calls this directly
no test coverage detected