125 metricVec.push_back(const_cast<PCProfileMetric*>(m));
150 void dump(std::ostream& o = std::cerr);
187 bool IsValid()
const {
return it != s.metricVec.end(); }
188 bool IsEmpty()
const {
return it == s.metricVec.end(); }
191 void Reset() { it = s.metricVec.begin(); }
258 void dump(std::ostream& o = std::cerr);
293 bool IsValid()
const {
return it != p.pcVec.end(); }
294 bool IsEmpty()
const {
return it == p.pcVec.end(); }
297 void Reset() { it = p.pcVec.begin(); }
329 unsigned int GetSz()
const {
return vec.size(); }
337 void dump(std::ostream& o = std::cerr);
349 std::vector<PCProfileDatum>
vec;
std::vector< PCProfileDatum > vec
void Assign(unsigned int i, const PCProfileMetric *m)
unsigned int GetSz() const
PCProfileMetricSet(const PCProfileMetricSet &p)
const PCProfileMetric * Index(unsigned int i) const
PCProfileMetricSet * Filter(MetricFilter *filter) const
std::list< PCProfileMetric * > PCProfileMetricList
PCProfileMetricSet & operator=(const PCProfileMetricSet &p)
friend class PCProfileMetricSetIterator
void Add(const PCProfileMetric *m)
PCProfile_PCIterator(const PCProfile &x)
PCProfileMetricVec::const_iterator PCProfileMetricVecCIt
virtual ~PCProfile_PCIterator()
unsigned int GetSz() const
PCProfile & operator=(const PCProfile &p)
PCProfileMetricSet(ISA *isa_, unsigned int sz=16)
unsigned int GetNumMetrics() const
void SetHdrInfo(const std::string &s)
void dump(std::ostream &o=std::cerr)
PCVec::const_iterator PCVecCIt
PCProfileMetricSetIterator & operator=(const PCProfileMetricSetIterator &x)
PCProfileMetricVec::iterator PCProfileMetricVecIt
const std::string & GetHdrInfo() const
PCProfileVec & operator=(const PCProfileVec &v)
void SetHdrInfo(const char *s)
PCProfileMetricSetIterator(const PCProfileMetricSet &x)
PCProfileVec(const PCProfileVec &v)
void SetNumMetrics(unsigned int sz)
const PCProfileMetricSet & s
unsigned short int ushort
uint64_t GetDatum() const
PCProfileMetricList::const_iterator PCProfileMetricListCIt
void AddMetric(const PCProfileMetric *m)
PCProfileMetric * Current() const
std::vector< PCProfileMetric * > PCProfileMetricVec
void SetSz(unsigned int sz)
int DataExists(VMA pc, ushort opIndex) const
PCProfileDatum & operator[](unsigned int i)
PCProfileMetricList::iterator PCProfileMetricListIt
void SetProfiledFile(const std::string &s)
virtual ~PCProfileMetricSet()
PCProfile_PCIterator & operator=(const PCProfile_PCIterator &x)
PCProfileMetricVec metricVec
const PCProfileMetric * operator[](unsigned int i) const
void SetDatum(uint64_t d)
PCProfileMetric *& operator[](unsigned int i)
const std::string & GetProfiledFile() const
const PCProfileMetric * GetMetric(unsigned int i) const
void SetMetric(unsigned int i, const PCProfileMetric *m)
virtual ~PCProfileMetricSetIterator()
void SetProfiledFile(const char *s)