60 #ifndef prof_Prof_Metric_IData_hpp 61 #define prof_Prof_Metric_IData_hpp 149 for (
uint i = mBegId; i < mEndId; ++i) {
184 size_t sz = std::max(size, mId+1);
192 size_t sz = std::max(size, mId+1);
203 for (
uint i = mBegId; i < mEndId; ++i) {
248 const Mgr *metricMgr,
251 int oFlags = 0,
const char* pfx =
"")
const;
255 dumpMetrics(std::ostream& os = std::cerr,
int oFlags = 0,
256 const char* pfx =
"")
const;
hpcrun_metricVal_t & metricObject(size_t mId)
bool hasMetricSlow(size_t mId) const
double metric(size_t mId) const
bool hasMetrics(uint mBegId=Metric::IData::npos, uint mEndId=Metric::IData::npos) const
void zeroMetrics(uint mBegId, uint mEndId)
void insertMetricsBefore(size_t numMetrics)
std::vector< hpcrun_metricVal_t > MetricVec
double & demandMetric(size_t mId, size_t size=0)
bool hasMetric(size_t mId) const
double demandMetric(size_t mId, size_t size=0) const
double & metric(size_t mId)
void ensureMetricsSize(size_t size) const
IData & operator=(const IData &x)
std::string toStringMetrics(int oFlags=0, const char *pfx="") 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