Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
sw::universal::AlgorithmProfile Struct Reference

Complete algorithm profile combining all analysis dimensions. More...

#include <algorithm_profiler.hpp>

Public Member Functions

 AlgorithmProfile ()
void calculateDerivedMetrics ()
 Calculate derived metrics.
void report (std::ostream &ostr) const
 Report profile to stream.
std::string summary () const
 Get one-line summary.

Public Attributes

std::string name
std::string precision
int bit_width
uint64_t problem_size
std::string size_description
uint64_t additions
uint64_t subtractions
uint64_t multiplications
uint64_t divisions
uint64_t fmas
uint64_t sqrts
uint64_t comparisons
uint64_t total_ops
uint64_t bytes_read
uint64_t bytes_written
uint64_t working_set_bytes
std::string primary_cache_tier
double min_value
double max_value
int min_scale
int max_scale
int scale_span
double compute_energy_pj
double memory_energy_pj
double total_energy_pj
double ops_per_byte
double energy_per_op_pj

Detailed Description

Complete algorithm profile combining all analysis dimensions.

Constructor & Destructor Documentation

◆ AlgorithmProfile()

sw::universal::AlgorithmProfile::AlgorithmProfile ( )
inline

Member Function Documentation

◆ calculateDerivedMetrics()

void sw::universal::AlgorithmProfile::calculateDerivedMetrics ( )
inline

Calculate derived metrics.

◆ report()

void sw::universal::AlgorithmProfile::report ( std::ostream & ostr) const
inline

Report profile to stream.

◆ summary()

std::string sw::universal::AlgorithmProfile::summary ( ) const
inline

Get one-line summary.

Member Data Documentation

◆ additions

uint64_t sw::universal::AlgorithmProfile::additions

◆ bit_width

int sw::universal::AlgorithmProfile::bit_width

◆ bytes_read

uint64_t sw::universal::AlgorithmProfile::bytes_read

◆ bytes_written

uint64_t sw::universal::AlgorithmProfile::bytes_written

◆ comparisons

uint64_t sw::universal::AlgorithmProfile::comparisons

◆ compute_energy_pj

double sw::universal::AlgorithmProfile::compute_energy_pj

◆ divisions

uint64_t sw::universal::AlgorithmProfile::divisions

◆ energy_per_op_pj

double sw::universal::AlgorithmProfile::energy_per_op_pj

◆ fmas

uint64_t sw::universal::AlgorithmProfile::fmas

◆ max_scale

int sw::universal::AlgorithmProfile::max_scale

◆ max_value

double sw::universal::AlgorithmProfile::max_value

◆ memory_energy_pj

double sw::universal::AlgorithmProfile::memory_energy_pj

◆ min_scale

int sw::universal::AlgorithmProfile::min_scale

◆ min_value

double sw::universal::AlgorithmProfile::min_value

◆ multiplications

uint64_t sw::universal::AlgorithmProfile::multiplications

◆ name

std::string sw::universal::AlgorithmProfile::name

◆ ops_per_byte

double sw::universal::AlgorithmProfile::ops_per_byte

◆ precision

std::string sw::universal::AlgorithmProfile::precision

◆ primary_cache_tier

std::string sw::universal::AlgorithmProfile::primary_cache_tier

◆ problem_size

uint64_t sw::universal::AlgorithmProfile::problem_size

◆ scale_span

int sw::universal::AlgorithmProfile::scale_span

◆ size_description

std::string sw::universal::AlgorithmProfile::size_description

◆ sqrts

uint64_t sw::universal::AlgorithmProfile::sqrts

◆ subtractions

uint64_t sw::universal::AlgorithmProfile::subtractions

◆ total_energy_pj

double sw::universal::AlgorithmProfile::total_energy_pj

◆ total_ops

uint64_t sw::universal::AlgorithmProfile::total_ops

◆ working_set_bytes

uint64_t sw::universal::AlgorithmProfile::working_set_bytes

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