Public Member Functions | Public Attributes
hayai::Benchmarker::CalibrationModel Struct Reference

Calibration model. More...

List of all members.

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;.

Detailed Description

Calibration model.

Describes a linear calibration model for test runs.

Definition at line 331 of file hayai_benchmarker.hpp.


Constructor & Destructor Documentation

hayai::Benchmarker::CalibrationModel::CalibrationModel ( std::size_t  scale,
uint64_t  slope,
uint64_t  yIntercept 
) [inline]

Definition at line 334 of file hayai_benchmarker.hpp.


Member Function Documentation

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.


Member Data Documentation

Scale.

Number of iterations per slope unit.

Definition at line 348 of file hayai_benchmarker.hpp.

Slope.

Definition at line 352 of file hayai_benchmarker.hpp.

Y-intercept;.

Definition at line 356 of file hayai_benchmarker.hpp.


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


hayai
Author(s): Nick Bruun
autogenerated on Thu Jun 6 2019 18:13:43