|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
Model validation utility Compares model predictions to RAPL measurements. More...
#include <pgo_energy.hpp>
Classes | |
| struct | ValidationResult |
| Validate model for a specific operation. More... | |
Public Member Functions | |
| ModelValidator (const energy::EnergyCostModel &model=energy::getDefaultModel()) | |
| std::vector< ValidationResult > | validateAll (double tolerance_percent=50.0) |
| Run validation benchmark for all operations and bit widths. | |
| void | report (std::ostream &ostr, const std::vector< ValidationResult > &results, double tolerance_percent=50.0) |
| Generate validation report. | |
Model validation utility Compares model predictions to RAPL measurements.
|
inlineexplicit |
|
inline |
Generate validation report.
|
inline |
Run validation benchmark for all operations and bit widths.