linbox
Public Member Functions | Data Fields
DataSeries Struct Reference

this structure holds a bunch of timings. More...

#include <benchmark.h>

Public Member Functions

 DataSeries ()
 Constructor.
 
size_t size () const
 Size of the series of measurements.
 
void push_back (const std::string &nam, const double &val, const double &x=NAN, const double &y=NAN)
 add some new data.
 

Data Fields

svector_t PointLabels
 points abscisa, values for the x axis. More...
 
dvector_t Points
 points abscisa, values for the x axis. More...
 
dvector_t Times
 actual computation times.
 
dvector_t Values
 actual data to be plotted (for instance mflops)
 
svector_t UID
 unique id of a point.
 

Detailed Description

this structure holds a bunch of timings.

It collects the points, the time spent at each point and a measure (for instance mflops).

Todo:
Times and Values could be dmatrix_t (and mergeable)

Field Documentation

◆ PointLabels

svector_t PointLabels

points abscisa, values for the x axis.

Used in legend for the X axis.

◆ Points

dvector_t Points

points abscisa, values for the x axis.

Used in TimeWatcher (for instance, if PointLabels are the names of sparse matrices, Points would be their number of non zeros, or 1,2,3,... or whatever relevant for predicting time)


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