vg
tools for working with variation graphs
Public Member Functions | Public Attributes | List of all members
vg::BenchmarkResult Struct Reference

#include <benchmark.hpp>

Public Member Functions

double score () const
 How many control-standardized "points" do we score? More...
 
double score_error () const
 What is the uncertainty on the score? More...
 

Public Attributes

size_t runs
 How many runs were done. More...
 
benchtime test_mean
 What was the mean runtime of each test run. More...
 
benchtime test_stddev
 What was the standard deviation of test run times. More...
 
benchtime control_mean
 What was the mean runtime of each control run. More...
 
benchtime control_stddev
 What was the standard deviation of control run times. More...
 
string name
 What was the name of the test being run. More...
 

Detailed Description

Represents the results of a benchmark run. Tracks the mean and standard deviation of a number of runs of a function under test, interleaved with runs of a standard control function.

Member Function Documentation

◆ score()

double vg::BenchmarkResult::score ( ) const

How many control-standardized "points" do we score?

◆ score_error()

double vg::BenchmarkResult::score_error ( ) const

What is the uncertainty on the score?

Member Data Documentation

◆ control_mean

benchtime vg::BenchmarkResult::control_mean

What was the mean runtime of each control run.

◆ control_stddev

benchtime vg::BenchmarkResult::control_stddev

What was the standard deviation of control run times.

◆ name

string vg::BenchmarkResult::name

What was the name of the test being run.

◆ runs

size_t vg::BenchmarkResult::runs

How many runs were done.

◆ test_mean

benchtime vg::BenchmarkResult::test_mean

What was the mean runtime of each test run.

◆ test_stddev

benchtime vg::BenchmarkResult::test_stddev

What was the standard deviation of test run times.


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