HPCToolkit
|
#include <Metric-AExprIncr.hpp>
Public Types | |
enum | FnTy { FnInit, FnInitSrc, FnAccum, FnCombine, FnFini } |
Public Member Functions | |
AExprIncr (uint accumId, uint srcId) | |
AExprIncr (uint accumId, uint accum2Id, uint srcId) | |
virtual | ~AExprIncr () |
virtual double | initialize (Metric::IData &mdata) const =0 |
virtual double | initializeSrc (Metric::IData &mdata) const =0 |
virtual double | accumulate (Metric::IData &mdata) const =0 |
virtual double | combine (Metric::IData &mdata) const =0 |
virtual double | finalize (Metric::IData &mdata) const =0 |
virtual std::string | combineString2 () const |
virtual uint | accumId (int i) const |
void | accumId (int i, uint x) |
double | accumVar (int i, const Metric::IData &mdata) const |
double & | accumVar (int i, Metric::IData &mdata) const |
virtual uint | numAccum () const |
void | srcId (int i, uint x) |
double | srcVar (int i, const Metric::IData &mdata) const |
double & | srcVar (int i, Metric::IData &mdata) const |
std::string | srcStr (int i) const |
bool | isSetSrc (int i) const |
virtual bool | hasNumSrcVar () const |
uint | numSrc (const Metric::IData &mdata) const |
virtual uint | numSrcFxd () const |
void | numSrcFxd (uint x) |
bool | isSetNumSrcVar () const |
virtual uint | numSrcVarId () const |
void | numSrcVarId (uint x) |
uint | numSrcVarVar (const Metric::IData &mdata) const |
double | initializeStdDev (Metric::IData &mdata) const |
double | initializeSrcStdDev (Metric::IData &mdata) const |
double | accumulateStdDev (Metric::IData &mdata) const |
double | combineStdDev (Metric::IData &mdata) const |
double | finalizeStdDev (Metric::IData &mdata) const |
virtual std::string | toString () const |
virtual std::ostream & | dump (std::ostream &os=std::cout) const |
virtual std::ostream & | dumpMe (std::ostream &os=std::cout) const =0 |
virtual std::string | combineString1 () const =0 |
virtual std::string | finalizeString () const =0 |
std::string | combineString1Min () const |
std::string | finalizeStringMin () const |
std::string | combineString1Max () const |
std::string | finalizeStringMax () const |
std::string | combineString1StdDev () const |
std::string | combineString2StdDev () const |
std::string | combineString1Sum () const |
std::string | finalizeStringSum () const |
std::string | combineString1Mean () const |
std::string | finalizeStringMean () const |
std::string | finalizeStringStdDev (std::string *meanRet=NULL) const |
std::string | finalizeStringCoefVar () const |
std::string | finalizeStringRStdDev () const |
std::string | combineString1NumSource () const |
std::string | finalizeStringNumSource () const |
std::string | accumStr (int i) const |
std::string | numSrcStr () const |
std::string | numSrcFxdStr () const |
std::string | numSrcVarStr () const |
void | ddump () const |
Static Public Member Functions | |
static double & | var (Metric::IData &mdata, uint mId) |
static double | var (const Metric::IData &mdata, uint mId) |
static bool | isok (double x) |
Protected Types | |
enum | { maxAccums = 2 } |
Protected Attributes | |
uint | m_accumId [maxAccums] |
uint | m_srcId [maxAccums] |
uint | m_numSrcFxd |
uint | m_numSrcVarId |
Definition at line 111 of file Metric-AExprIncr.hpp.
|
protectedinherited |
Enumerator | |
---|---|
maxAccums |
Definition at line 330 of file Metric-IDBExpr.hpp.
Enumerator | |
---|---|
FnInit | |
FnInitSrc | |
FnAccum | |
FnCombine | |
FnFini |
Definition at line 152 of file Metric-AExprIncr.hpp.
|
inlinevirtual |
Definition at line 144 of file Metric-AExprIncr.hpp.
|
inlinevirtual |
Implements Prof::Metric::IDBExpr.
Definition at line 194 of file Metric-AExprIncr.hpp.
|
inline |
Definition at line 198 of file Metric-AExprIncr.hpp.
|
inlineinherited |
Definition at line 274 of file Metric-IDBExpr.hpp.
|
pure virtual |
Implemented in Prof::Metric::NumSourceIncr, Prof::Metric::RStdDevIncr, Prof::Metric::CoefVarIncr, Prof::Metric::StdDevIncr, Prof::Metric::MeanIncr, Prof::Metric::SumIncr, Prof::Metric::MaxIncr, and Prof::Metric::MinIncr.
|
inline |
Definition at line 332 of file Metric-AExprIncr.hpp.
|
inline |
Definition at line 202 of file Metric-AExprIncr.hpp.
|
inline |
|
pure virtual |
Implemented in Prof::Metric::NumSourceIncr, Prof::Metric::RStdDevIncr, Prof::Metric::CoefVarIncr, Prof::Metric::StdDevIncr, Prof::Metric::MeanIncr, Prof::Metric::SumIncr, Prof::Metric::MaxIncr, and Prof::Metric::MinIncr.
|
inline |
Definition at line 344 of file Metric-AExprIncr.hpp.
|
pure virtualinherited |
Implemented in Prof::Metric::NumSource, Prof::Metric::RStdDev, Prof::Metric::NumSourceIncr, Prof::Metric::CoefVar, Prof::Metric::RStdDevIncr, Prof::Metric::StdDev, Prof::Metric::CoefVarIncr, Prof::Metric::Mean, Prof::Metric::Max, Prof::Metric::StdDevIncr, Prof::Metric::Min, Prof::Metric::MeanIncr, Prof::Metric::Plus, Prof::Metric::SumIncr, Prof::Metric::MaxIncr, Prof::Metric::MinIncr, Prof::Metric::Var, and Prof::Metric::AExpr.
|
inlineinherited |
Definition at line 149 of file Metric-IDBExpr.hpp.
|
inlineinherited |
Definition at line 192 of file Metric-IDBExpr.hpp.
|
inlineinherited |
Definition at line 136 of file Metric-IDBExpr.hpp.
|
inlineinherited |
Definition at line 253 of file Metric-IDBExpr.hpp.
|
inlineinherited |
Definition at line 162 of file Metric-IDBExpr.hpp.
|
inlineinherited |
Definition at line 179 of file Metric-IDBExpr.hpp.
|
inlinevirtual |
Implements Prof::Metric::IDBExpr.
Reimplemented in Prof::Metric::RStdDevIncr, Prof::Metric::CoefVarIncr, and Prof::Metric::StdDevIncr.
Definition at line 183 of file Metric-AExprIncr.hpp.
|
inlineinherited |
Definition at line 170 of file Metric-IDBExpr.hpp.
|
inherited |
Definition at line 85 of file Metric-IDBExpr.cpp.
|
inlinevirtual |
Reimplemented from Prof::Metric::IDBExpr.
Definition at line 385 of file Metric-AExprIncr.hpp.
|
pure virtual |
Implemented in Prof::Metric::NumSourceIncr, Prof::Metric::RStdDevIncr, Prof::Metric::CoefVarIncr, Prof::Metric::StdDevIncr, Prof::Metric::MeanIncr, Prof::Metric::SumIncr, Prof::Metric::MaxIncr, and Prof::Metric::MinIncr.
|
pure virtual |
Implemented in Prof::Metric::NumSourceIncr, Prof::Metric::RStdDevIncr, Prof::Metric::CoefVarIncr, Prof::Metric::StdDevIncr, Prof::Metric::MeanIncr, Prof::Metric::SumIncr, Prof::Metric::MaxIncr, and Prof::Metric::MinIncr.
|
inline |
Definition at line 357 of file Metric-AExprIncr.hpp.
|
pure virtualinherited |
Implemented in Prof::Metric::NumSource, Prof::Metric::RStdDev, Prof::Metric::NumSourceIncr, Prof::Metric::CoefVar, Prof::Metric::RStdDevIncr, Prof::Metric::StdDev, Prof::Metric::CoefVarIncr, Prof::Metric::Mean, Prof::Metric::Max, Prof::Metric::StdDevIncr, Prof::Metric::Min, Prof::Metric::MeanIncr, Prof::Metric::Plus, Prof::Metric::SumIncr, Prof::Metric::MaxIncr, Prof::Metric::MinIncr, Prof::Metric::Var, and Prof::Metric::AExpr.
|
inlineinherited |
Definition at line 233 of file Metric-IDBExpr.hpp.
|
inlineinherited |
Definition at line 157 of file Metric-IDBExpr.hpp.
|
inlineinherited |
Definition at line 200 of file Metric-IDBExpr.hpp.
|
inlineinherited |
Definition at line 144 of file Metric-IDBExpr.hpp.
|
inlineinherited |
Definition at line 262 of file Metric-IDBExpr.hpp.
|
inlineinherited |
Definition at line 243 of file Metric-IDBExpr.hpp.
|
inlineinherited |
Definition at line 214 of file Metric-IDBExpr.hpp.
|
inlineinherited |
Definition at line 187 of file Metric-IDBExpr.hpp.
|
inlinevirtual |
Implements Prof::Metric::IDBExpr.
Reimplemented in Prof::Metric::RStdDevIncr, Prof::Metric::CoefVarIncr, Prof::Metric::StdDevIncr, and Prof::Metric::MeanIncr.
Definition at line 248 of file Metric-AExprIncr.hpp.
|
pure virtual |
Implemented in Prof::Metric::NumSourceIncr, Prof::Metric::RStdDevIncr, Prof::Metric::CoefVarIncr, Prof::Metric::StdDevIncr, Prof::Metric::MeanIncr, Prof::Metric::SumIncr, Prof::Metric::MaxIncr, and Prof::Metric::MinIncr.
|
pure virtual |
Implemented in Prof::Metric::RStdDevIncr, Prof::Metric::CoefVarIncr, Prof::Metric::StdDevIncr, Prof::Metric::MeanIncr, Prof::Metric::SumIncr, Prof::Metric::MaxIncr, and Prof::Metric::MinIncr.
|
inline |
Definition at line 321 of file Metric-AExprIncr.hpp.
|
inline |
Definition at line 312 of file Metric-AExprIncr.hpp.
|
inlinestatic |
|
inline |
Definition at line 267 of file Metric-AExprIncr.hpp.
|
inline |
|
inlinevirtual |
Implements Prof::Metric::IDBExpr.
Reimplemented in Prof::Metric::RStdDevIncr, and Prof::Metric::StdDevIncr.
Definition at line 212 of file Metric-AExprIncr.hpp.
|
inline |
Definition at line 252 of file Metric-AExprIncr.hpp.
|
inlinevirtual |
Implements Prof::Metric::IDBExpr.
Definition at line 258 of file Metric-AExprIncr.hpp.
|
inline |
Definition at line 262 of file Metric-AExprIncr.hpp.
|
inlineinherited |
Definition at line 302 of file Metric-IDBExpr.hpp.
|
inlineinherited |
Definition at line 294 of file Metric-IDBExpr.hpp.
|
inlinevirtual |
Implements Prof::Metric::IDBExpr.
Definition at line 272 of file Metric-AExprIncr.hpp.
|
inline |
Definition at line 276 of file Metric-AExprIncr.hpp.
|
inlineinherited |
Definition at line 310 of file Metric-IDBExpr.hpp.
|
inline |
Definition at line 280 of file Metric-AExprIncr.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 225 of file Metric-AExprIncr.hpp.
|
inline |
|
virtual |
Reimplemented from Prof::Metric::IDBExpr.
Definition at line 97 of file Metric-AExprIncr.cpp.
|
inlinestatic |
Definition at line 289 of file Metric-AExprIncr.hpp.
|
inlinestatic |
Definition at line 397 of file Metric-AExprIncr.hpp.
|
protected |
Definition at line 399 of file Metric-AExprIncr.hpp.
|
protected |
Definition at line 400 of file Metric-AExprIncr.hpp.
Definition at line 398 of file Metric-AExprIncr.hpp.