ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Test::MicroBenchmarkResult Struct Reference

#include <acts/blob/master/Tests/CommonHelpers/Acts/Tests/CommonHelpers/BenchmarkTools.hpp>

+ Collaboration diagram for Acts::Test::MicroBenchmarkResult:

Public Types

using Duration = std::chrono::duration< double, std::nano >
 

Public Member Functions

Duration totalTime () const
 
Duration iterTimeAverage () const
 
Duration iterTimeError () const
 
std::vector< DurationsortedRunTimes () const
 
Duration runTimeMedian () const
 
std::pair< Duration, DurationrunTimeQuartiles () const
 
Duration runTimeRobustStddev () const
 

Public Attributes

size_t iters_per_run
 
std::vector< Durationrun_timings
 

Friends

std::ostream & operator<< (std::ostream &os, const MicroBenchmarkResult &res)
 

Detailed Description

Definition at line 183 of file BenchmarkTools.hpp.

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

Member Typedef Documentation

using Acts::Test::MicroBenchmarkResult::Duration = std::chrono::duration<double, std::nano>

Definition at line 184 of file BenchmarkTools.hpp.

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

Member Function Documentation

Duration Acts::Test::MicroBenchmarkResult::iterTimeAverage ( ) const
inline

Definition at line 216 of file BenchmarkTools.hpp.

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

References iters_per_run, and runTimeMedian().

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Duration Acts::Test::MicroBenchmarkResult::iterTimeError ( ) const
inline

Definition at line 222 of file BenchmarkTools.hpp.

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

References iters_per_run, and runTimeRobustStddev().

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Duration Acts::Test::MicroBenchmarkResult::runTimeMedian ( ) const
inline

Definition at line 235 of file BenchmarkTools.hpp.

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

References run_timings, and sortedRunTimes().

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and iterTimeAverage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::pair<Duration, Duration> Acts::Test::MicroBenchmarkResult::runTimeQuartiles ( ) const
inline

Definition at line 247 of file BenchmarkTools.hpp.

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

References Acts::Test::offset(), run_timings, and sortedRunTimes().

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and runTimeRobustStddev().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Duration Acts::Test::MicroBenchmarkResult::runTimeRobustStddev ( ) const
inline

Definition at line 287 of file BenchmarkTools.hpp.

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

References runTimeQuartiles().

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and iterTimeError().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector<Duration> Acts::Test::MicroBenchmarkResult::sortedRunTimes ( ) const
inline

Definition at line 228 of file BenchmarkTools.hpp.

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

References run_timings.

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), runTimeMedian(), and runTimeQuartiles().

+ Here is the caller graph for this function:

Duration Acts::Test::MicroBenchmarkResult::totalTime ( ) const
inline

Definition at line 196 of file BenchmarkTools.hpp.

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

References run_timings.

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

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const MicroBenchmarkResult res 
)
friend

Definition at line 293 of file BenchmarkTools.hpp.

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

Member Data Documentation

size_t Acts::Test::MicroBenchmarkResult::iters_per_run

Definition at line 186 of file BenchmarkTools.hpp.

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

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), iterTimeAverage(), iterTimeError(), and Acts::Test::benchmark_tools_internal::microBenchmarkImpl().

std::vector<Duration> Acts::Test::MicroBenchmarkResult::run_timings

The documentation for this struct was generated from the following file: