Celero
Public Member Functions | Public Attributes | List of all members
celero::Experiment::Impl Class Reference

Public Member Functions

 Impl (std::weak_ptr< Benchmark > bm, const std::string &n, const uint64_t s, const uint64_t c, const uint64_t t, const double pBaselineTarget)
 
 Impl (std::weak_ptr< Benchmark > bm)
 

Public Attributes

std::vector< std::shared_ptr< celero::ExperimentResult > > results
 There is one result for each problem space value. More...
 
std::weak_ptr< Benchmarkbenchmark
 The owning benchmark object which groups together all experiments.
 
std::shared_ptr< Factoryfactory
 The factory to associate with this benchmark.
 
std::string name
 The name of this experiment.
 
double baselineUnit {0}
 The number of microseconds per test (which makes up one baseline unit).
 
double baselineTarget {0}
 Used to pass/fail benchmarks when outputting JUnit.
 
uint64_t samples {0}
 Test samples to complete.
 
uint64_t iterations {0}
 Iterations per test run. (Size of each sample.)
 
uint64_t threads {0}
 Threads per test run.
 
uint64_t totalRunTime {0}
 The best run time for this test.
 
bool isBaselineCase {false}
 

Member Data Documentation

◆ results

std::vector<std::shared_ptr<celero::ExperimentResult> > celero::Experiment::Impl::results

There is one result for each problem space value.

In the event there are not any problem spaces, there shal be a single result.


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