19 lines
517 B
C++
19 lines
517 B
C++
#include <benchmark/benchmark.h>
|
|
|
|
// Main function for Google Benchmark
|
|
// This is automatically provided by benchmark::benchmark_main
|
|
// but we include it for clarity and potential custom initialization
|
|
|
|
int main(int argc, char** argv) {
|
|
// Initialize benchmark
|
|
::benchmark::Initialize(&argc, argv);
|
|
|
|
// Set any global benchmark configuration here
|
|
// For example, you can set the minimum time per benchmark, etc.
|
|
|
|
// Run the benchmarks
|
|
::benchmark::RunSpecifiedBenchmarks();
|
|
|
|
return 0;
|
|
}
|