#include #include namespace { const GeoData tm {GeoData::loadFromAsciiGrid(FIXTURESDIR "height/SD19.asc")}; void terrain_findPoint(benchmark::State & state) { for (auto _ : state) { benchmark::DoNotOptimize(tm.findPoint({315555, 495556})); } } } BENCHMARK(terrain_findPoint); BENCHMARK_MAIN();