HPCToolkit
PCProfileMetricSet Class Reference

#include <PCProfile.hpp>

Inheritance diagram for PCProfileMetricSet:
Collaboration diagram for PCProfileMetricSet:

Public Member Functions

 PCProfileMetricSet (ISA *isa_, unsigned int sz=16)
 
virtual ~PCProfileMetricSet ()
 
const PCProfileMetricIndex (unsigned int i) const
 
const PCProfileMetricoperator[] (unsigned int i) const
 
void Assign (unsigned int i, const PCProfileMetric *m)
 
PCProfileMetric *& operator[] (unsigned int i)
 
void Add (const PCProfileMetric *m)
 
unsigned int GetSz () const
 
void SetSz (unsigned int sz)
 
void Clear ()
 
ISAGetISA () const
 
int DataExists (VMA pc, ushort opIndex) const
 
PCProfileMetricSetFilter (MetricFilter *filter) const
 
void dump (std::ostream &o=std::cerr)
 
void ddump ()
 

Private Member Functions

 PCProfileMetricSet (const PCProfileMetricSet &p)
 
PCProfileMetricSetoperator= (const PCProfileMetricSet &p)
 

Private Attributes

PCProfileMetricVec metricVec
 
ISAisa
 

Friends

class PCProfileMetricSetIterator
 

Detailed Description

Definition at line 103 of file PCProfile.hpp.

Constructor & Destructor Documentation

◆ PCProfileMetricSet() [1/2]

PCProfileMetricSet::PCProfileMetricSet ( ISA isa_,
unsigned int  sz = 16 
)

◆ ~PCProfileMetricSet()

PCProfileMetricSet::~PCProfileMetricSet ( )
virtual

Definition at line 85 of file PCProfile.cpp.

◆ PCProfileMetricSet() [2/2]

PCProfileMetricSet::PCProfileMetricSet ( const PCProfileMetricSet p)
inlineprivate

Definition at line 155 of file PCProfile.hpp.

Member Function Documentation

◆ Add()

void PCProfileMetricSet::Add ( const PCProfileMetric m)
inline

Definition at line 124 of file PCProfile.hpp.

Here is the caller graph for this function:

◆ Assign()

void PCProfileMetricSet::Assign ( unsigned int  i,
const PCProfileMetric m 
)
inline

Definition at line 119 of file PCProfile.hpp.

Here is the caller graph for this function:

◆ Clear()

void PCProfileMetricSet::Clear ( )
inline

Definition at line 131 of file PCProfile.hpp.

◆ DataExists()

int PCProfileMetricSet::DataExists ( VMA  pc,
ushort  opIndex 
) const

Definition at line 95 of file PCProfile.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ddump()

void PCProfileMetricSet::ddump ( )

Definition at line 131 of file PCProfile.cpp.

Here is the caller graph for this function:

◆ dump()

void PCProfileMetricSet::dump ( std::ostream &  o = std::cerr)

Definition at line 121 of file PCProfile.cpp.

Here is the caller graph for this function:

◆ Filter()

PCProfileMetricSet * PCProfileMetricSet::Filter ( MetricFilter filter) const

Definition at line 107 of file PCProfile.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetISA()

ISA* PCProfileMetricSet::GetISA ( ) const
inline

Definition at line 136 of file PCProfile.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSz()

unsigned int PCProfileMetricSet::GetSz ( ) const
inline

Definition at line 128 of file PCProfile.hpp.

Here is the caller graph for this function:

◆ Index()

const PCProfileMetric* PCProfileMetricSet::Index ( unsigned int  i) const
inline

Definition at line 116 of file PCProfile.hpp.

Here is the caller graph for this function:

◆ operator=()

PCProfileMetricSet& PCProfileMetricSet::operator= ( const PCProfileMetricSet p)
inlineprivate

Definition at line 156 of file PCProfile.hpp.

◆ operator[]() [1/2]

const PCProfileMetric* PCProfileMetricSet::operator[] ( unsigned int  i) const
inline

Definition at line 117 of file PCProfile.hpp.

◆ operator[]() [2/2]

PCProfileMetric*& PCProfileMetricSet::operator[] ( unsigned int  i)
inline

Definition at line 122 of file PCProfile.hpp.

◆ SetSz()

void PCProfileMetricSet::SetSz ( unsigned int  sz)
inline

Definition at line 129 of file PCProfile.hpp.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ PCProfileMetricSetIterator

friend class PCProfileMetricSetIterator
friend

Definition at line 158 of file PCProfile.hpp.

Member Data Documentation

◆ isa

ISA* PCProfileMetricSet::isa
private

Definition at line 168 of file PCProfile.hpp.

◆ metricVec

PCProfileMetricVec PCProfileMetricSet::metricVec
private

Definition at line 167 of file PCProfile.hpp.


The documentation for this class was generated from the following files: