Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Test::benchmark_tools_internal Namespace Reference

Classes

struct  MicroBenchmarkIterImpl
 
struct  MicroBenchmarkIterImpl< Callable, Input, void >
 
struct  MicroBenchmarkIterImpl< Callable, void, Result >
 
struct  MicroBenchmarkIterImpl< Callable, void, void >
 
struct  MicroBenchmarkIter
 
struct  MicroBenchmarkIter< Callable, void >
 

Typedefs

template<typename T , typename I >
using call_with_input_t = decltype(std::declval< T >()(std::declval< I >()))
 
template<typename T >
using call_without_input_t = decltype(std::declval< T >()())
 

Functions

template<typename Callable >
MicroBenchmarkResult microBenchmarkImpl (Callable &&run, size_t iters_per_run, size_t num_runs, std::chrono::milliseconds warmup_time)
 

Typedef Documentation

template<typename T , typename I >
using Acts::Test::benchmark_tools_internal::call_with_input_t = typedef decltype(std::declval<T>()(std::declval<I>()))

Definition at line 387 of file BenchmarkTools.hpp.

View newest version in sPHENIX GitHub at line 387 of file BenchmarkTools.hpp

template<typename T >
using Acts::Test::benchmark_tools_internal::call_without_input_t = typedef decltype(std::declval<T>()())

Definition at line 390 of file BenchmarkTools.hpp.

View newest version in sPHENIX GitHub at line 390 of file BenchmarkTools.hpp

Function Documentation

template<typename Callable >
MicroBenchmarkResult Acts::Test::benchmark_tools_internal::microBenchmarkImpl ( Callable &&  run,
size_t  iters_per_run,
size_t  num_runs,
std::chrono::milliseconds  warmup_time 
)

Definition at line 427 of file BenchmarkTools.hpp.

View newest version in sPHENIX GitHub at line 427 of file BenchmarkTools.hpp

References i, Acts::Test::MicroBenchmarkResult::iters_per_run, utils::run, Acts::Test::MicroBenchmarkResult::run_timings, and start.

Referenced by Acts::Test::microBenchmark().

+ Here is the caller graph for this function: