98 std::ostringstream os;
106 const Mgr *metricMgr,
110 bool wasMetricWritten =
false;
117 for (
uint i = mBegId; i < mEndId; i++) {
126 uint desc_id = i-mBegId;
135 os << ((!wasMetricWritten) ? pfx :
"");
137 <<
" v" << mval <<
"/>";
138 wasMetricWritten =
true;
MetricFlags_ValFmt_t valFmt
hpcrun_metricFlags_fields fields
bool hasMetric(size_t mId) const
std::string MakeAttrNum(int x)
Metric::ADesc * metric(uint i)
std::string toStringMetrics(int oFlags=0, const char *pfx="") const
hpcrun_metricFlags_t flags() const
std::ostream & writeMetricsXML(std::ostream &os, const Mgr *metricMgr, uint mBegId=Metric::IData::npos, uint mEndId=Metric::IData::npos, int oFlags=0, const char *pfx="") const
std::ostream & dumpMetrics(std::ostream &os=std::cerr, int oFlags=0, const char *pfx="") const
void ddumpMetrics() const