114 case TyNULL:
return "nil";
115 case TyIncl:
return "inclusive";
116 case TyExcl:
return "exclusive";
174 for (
uint i_seg = 1; i_seg <= 6; ++i_seg) {
177 DIAG_Assert(segBeg == fmtBeg && segEnd != string::npos,
180 string segStr = x.substr(segBeg, segEnd - segBeg);
183 case 1:
namePfx(segStr);
break;
185 case 3:
nameSfx(segStr);
break;
269 string units = isUnitsEvents() ?
" [events]" :
" [samples]";
311 string exprStr = (m_expr) ? m_expr->toString() :
"";
327 return "derived-incr";
351 string exprStr = (m_expr) ? m_expr->toString() :
"";
367 return "derived-incr";
const std::string & nameSfx() const
static ADescTy fromHPCRunMetricValTy(MetricFlags_ValTy_t ty)
static MetricFlags_ValTy_t toHPCRunMetricValTy(ADescTy ty)
string toStr(const int x, int base)
static const char * ADescTyToXMLString(ADescTy type)
virtual std::string toString() const
void nameFromString(const std::string &x)
const char * DIAG_Unimplemented
static ADescTy stringToADescTy(const std::string &x)
long toLong(const char *str, unsigned *endidx)
static const std::string s_nameExcl
std::string nameToFmt() const
static const char s_nameFmtSegBeg
static const char s_nameFmtSegEnd
virtual std::string toString() const
const std::string & nameBase() const
ComputedTy computedType() const
virtual std::string toString() const
uint dbNumMetrics() const
virtual std::string toString() const
std::ostream & dump(std::ostream &os=std::cerr) const
virtual std::ostream & dumpMe(std::ostream &os=std::cerr) const
const char * DIAG_UnexpectedInput
virtual std::ostream & dumpMe(std::ostream &os=std::cerr) const
virtual std::string toValueTyStringXML() const
virtual std::ostream & dumpMe(std::ostream &os=std::cerr) const
virtual std::string toValueTyStringXML() const
static const std::string s_nameFmtTag
virtual std::ostream & dumpMe(std::ostream &os=std::cerr) const
const std::string & namePfx() const
virtual std::string toValueTyStringXML() const
const std::string & description() const
static const std::string s_nameIncl
static const std::string s_nameNULL
static const std::string & ADescTyToString(ADescTy type)