MCPcopy Create free account
hub / github.com/apache/arrow / Start

Method Start

cpp/src/arrow/util/benchmark_util.h:143–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141
142class 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

Callers

nothing calls this directly

Calls 2

default_memory_poolFunction · 0.85
num_allocationsMethod · 0.45

Tested by

no test coverage detected