|
linbox
|
this structure holds a bunch of timings. More...
#include <benchmark.h>
Public Member Functions | |
| DataSeries () | |
| Constructor. | |
| ~DataSeries () | |
| 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. | |
| dvector_t | Points |
| points abscisa, values for the x axis. | |
| 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. | |
this structure holds a bunch of timings.
It collects the points, the time spent at each point and a measure (for instance mflops).
| DataSeries | ( | ) |
Constructor.
| ~DataSeries | ( | ) |
| 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.
| svector_t PointLabels |
points abscisa, values for the x axis.
Used in legend for the X axis.
| 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)
| 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.