Calibration model. More...
Public Member Functions | |
CalibrationModel (std::size_t scale, uint64_t slope, uint64_t yIntercept) | |
int64_t | GetCalibration (std::size_t iterations) const |
Get calibration value for a run. | |
Public Attributes | |
const std::size_t | Scale |
Scale. | |
const uint64_t | Slope |
Slope. | |
const uint64_t | YIntercept |
Y-intercept;. |
Calibration model.
Describes a linear calibration model for test runs.
Definition at line 331 of file hayai_benchmarker.hpp.
hayai::Benchmarker::CalibrationModel::CalibrationModel | ( | std::size_t | scale, |
uint64_t | slope, | ||
uint64_t | yIntercept | ||
) | [inline] |
Definition at line 334 of file hayai_benchmarker.hpp.
int64_t hayai::Benchmarker::CalibrationModel::GetCalibration | ( | std::size_t | iterations | ) | const [inline] |
Get calibration value for a run.
Definition at line 360 of file hayai_benchmarker.hpp.
const std::size_t hayai::Benchmarker::CalibrationModel::Scale |
const uint64_t hayai::Benchmarker::CalibrationModel::Slope |
Slope.
Definition at line 352 of file hayai_benchmarker.hpp.
const uint64_t hayai::Benchmarker::CalibrationModel::YIntercept |
Y-intercept;.
Definition at line 356 of file hayai_benchmarker.hpp.