EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Tests/CommonHelpers/Acts/Tests/CommonHelpers/BenchmarkTools.hpp>
Public Types | |
using | Duration = std::chrono::duration< double, std::nano > |
Public Member Functions | |
Duration | totalTime () const |
Duration | iterTimeAverage () const |
Duration | iterTimeError () const |
std::vector< Duration > | sortedRunTimes () const |
Duration | runTimeMedian () const |
std::pair< Duration, Duration > | runTimeQuartiles () const |
Duration | runTimeRobustStddev () const |
Duration | runTimeError () const |
Public Attributes | |
size_t | iters_per_run |
std::vector< Duration > | run_timings |
Friends | |
std::ostream & | operator<< (std::ostream &os, const MicroBenchmarkResult &res) |
Definition at line 183 of file BenchmarkTools.hpp.
View newest version in sPHENIX GitHub at line 183 of file BenchmarkTools.hpp
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
|
inline |
Definition at line 220 of file BenchmarkTools.hpp.
View newest version in sPHENIX GitHub at line 220 of file BenchmarkTools.hpp
References iters_per_run, and runTimeMedian().
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 231 of file BenchmarkTools.hpp.
View newest version in sPHENIX GitHub at line 231 of file BenchmarkTools.hpp
References iters_per_run, and runTimeError().
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 313 of file BenchmarkTools.hpp.
View newest version in sPHENIX GitHub at line 313 of file BenchmarkTools.hpp
References run_timings, and runTimeRobustStddev().
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and iterTimeError().
|
inline |
Definition at line 248 of file BenchmarkTools.hpp.
View newest version in sPHENIX GitHub at line 248 of file BenchmarkTools.hpp
References run_timings, and sortedRunTimes().
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and iterTimeAverage().
Definition at line 260 of file BenchmarkTools.hpp.
View newest version in sPHENIX GitHub at line 260 of file BenchmarkTools.hpp
References Acts::Test::offset(), run_timings, and sortedRunTimes().
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and runTimeRobustStddev().
|
inline |
Definition at line 303 of file BenchmarkTools.hpp.
View newest version in sPHENIX GitHub at line 303 of file BenchmarkTools.hpp
References runTimeQuartiles().
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and runTimeError().
|
inline |
Definition at line 237 of file BenchmarkTools.hpp.
View newest version in sPHENIX GitHub at line 237 of file BenchmarkTools.hpp
References run_timings.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), runTimeMedian(), and runTimeQuartiles().
|
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().
|
friend |
Definition at line 326 of file BenchmarkTools.hpp.
View newest version in sPHENIX GitHub at line 326 of file BenchmarkTools.hpp
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 |
Definition at line 187 of file BenchmarkTools.hpp.
View newest version in sPHENIX GitHub at line 187 of file BenchmarkTools.hpp
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::Test::benchmark_tools_internal::microBenchmarkImpl(), runTimeError(), runTimeMedian(), runTimeQuartiles(), sortedRunTimes(), and totalTime().