Project
Loading...
Searching...
No Matches
BenchSegmentation.cxx File Reference
#include <algorithm>
#include <random>
#include "benchmark/benchmark.h"
#include "MCHMappingInterface/Segmentation.h"

Go to the source code of this file.

Classes

class  BenchSegO2
 

Functions

 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)
 

Variables

benchmark::State & state
 

Function Documentation

◆ 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()

for ( auto _ :state  )

Definition at line 36 of file BenchSegmentation.cxx.

Variable Documentation

◆ state

benchmark::State& state
Initial value:
{
int detElemId = state.range(0)
benchmark::State & state

Definition at line 32 of file BenchSegmentation.cxx.