#include <algorithm>
#include <random>
#include "benchmark/benchmark.h"
#include "MCHMappingInterface/Segmentation.h"
Go to the source code of this file.
|
| for (auto _ :state) |
|
| BENCHMARK (benchSegmentationCtorAll) -> Unit(benchmark::kMillisecond) |
|
| BENCHMARK (benchSegmentationCtorMap) -> Unit(benchmark::kMillisecond) |
|
| BENCHMARK (benchSegmentationCtorMapPtr) -> Unit(benchmark::kMillisecond) |
|
| BENCHMARK_REGISTER_F (BenchSegO2, ctor) -> Apply(segmentationList) ->Unit(benchmark::kMicrosecond) |
|
◆ BENCHMARK() [1/3]
BENCHMARK |
( |
benchSegmentationCtorAll |
| ) |
-> Unit(benchmark::kMillisecond) |
◆ BENCHMARK() [2/3]
BENCHMARK |
( |
benchSegmentationCtorMap |
| ) |
-> Unit(benchmark::kMillisecond) |
◆ BENCHMARK() [3/3]
BENCHMARK |
( |
benchSegmentationCtorMapPtr |
| ) |
-> Unit(benchmark::kMillisecond) |
◆ BENCHMARK_REGISTER_F()
BENCHMARK_REGISTER_F |
( |
BenchSegO2 |
, |
|
|
ctor |
|
|
) |
| -> Apply(segmentationList) ->Unit(benchmark::kMicrosecond) |
◆ for()
◆ state