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

Function main

cpp/src/arrow/compute/benchmark_main.cc:23–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#include "arrow/testing/gtest_util.h"
22
23int main(int argc, char** argv) {
24 // Initialize compute functions before any benchmarks run
25 ABORT_NOT_OK(arrow::compute::Initialize());
26
27 // Initialize and run benchmarks
28 ::benchmark::Initialize(&argc, argv);
29 if (::benchmark::ReportUnrecognizedArguments(argc, argv)) return 1;
30 ::benchmark::RunSpecifiedBenchmarks();
31 ::benchmark::Shutdown();
32 return 0;
33}

Callers

nothing calls this directly

Calls 2

ShutdownFunction · 0.85
InitializeFunction · 0.70

Tested by

no test coverage detected