HPCToolkit
DCPIProfile Class Reference

#include <DCPIProfile.hpp>

Inheritance diagram for DCPIProfile:
Collaboration diagram for DCPIProfile:

Public Types

enum  PMMode {
  PM_NONE, PM0, PM1, PM2,
  PM3
}
 

Public Member Functions

 DCPIProfile (ISA *isa_, unsigned int sz=256)
 
virtual ~DCPIProfile ()
 
const DCPIProfileMetricDCPIGetMetric (unsigned int i) const
 
void SetDCPIMetric (unsigned int i, DCPIProfileMetric *m)
 
PMMode GetPMMode () const
 
void SetPMMode (PMMode x)
 
void dump (std::ostream &o=std::cerr)
 
void ddump ()
 
const std::string & GetProfiledFile () const
 
const std::string & GetHdrInfo () const
 
void SetProfiledFile (const char *s)
 
void SetProfiledFile (const std::string &s)
 
void SetHdrInfo (const char *s)
 
void SetHdrInfo (const std::string &s)
 
VMA GetTxtStart () const
 
VMA GetTxtSz () const
 
const PCProfileMetricGetMetric (unsigned int i) const
 
void SetMetric (unsigned int i, const PCProfileMetric *m)
 
void AddMetric (const PCProfileMetric *m)
 
unsigned int GetNumMetrics () const
 
void SetNumMetrics (unsigned int sz)
 
unsigned int GetNumPCs ()
 
void AddPC (VMA pc, ushort opIndex)
 
const PCProfileMetricIndex (unsigned int i) const
 
const PCProfileMetricoperator[] (unsigned int i) const
 
PCProfileMetric *& operator[] (unsigned int i)
 
void Assign (unsigned int i, const PCProfileMetric *m)
 
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
 

Private Member Functions

 DCPIProfile (const DCPIProfile &p)
 
DCPIProfileoperator= (const DCPIProfile &p)
 

Private Attributes

PMMode pmmode
 

Friends

class DCPIProfileMetricSetIterator
 

Detailed Description

Definition at line 86 of file DCPIProfile.hpp.

Member Enumeration Documentation

◆ PMMode

Enumerator
PM_NONE 
PM0 
PM1 
PM2 
PM3 

Definition at line 89 of file DCPIProfile.hpp.

Constructor & Destructor Documentation

◆ DCPIProfile() [1/2]

DCPIProfile::DCPIProfile ( ISA isa_,
unsigned int  sz = 256 
)

Definition at line 78 of file DCPIProfile.cpp.

Here is the caller graph for this function:

◆ ~DCPIProfile()

DCPIProfile::~DCPIProfile ( )
virtual

Definition at line 83 of file DCPIProfile.cpp.

◆ DCPIProfile() [2/2]

DCPIProfile::DCPIProfile ( const DCPIProfile p)
private

Member Function Documentation

◆ Add()

void PCProfileMetricSet::Add ( const PCProfileMetric m)
inlineinherited

Definition at line 124 of file PCProfile.hpp.

Here is the caller graph for this function:

◆ AddMetric()

void PCProfile::AddMetric ( const PCProfileMetric m)
inlineinherited

Definition at line 250 of file PCProfile.hpp.

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

◆ AddPC()

void PCProfile::AddPC ( VMA  pc,
ushort  opIndex 
)
inherited

Definition at line 153 of file PCProfile.cpp.

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

◆ Assign()

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

Definition at line 119 of file PCProfile.hpp.

Here is the caller graph for this function:

◆ Clear()

void PCProfileMetricSet::Clear ( )
inlineinherited

Definition at line 131 of file PCProfile.hpp.

◆ DataExists()

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

Definition at line 95 of file PCProfile.cpp.

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

◆ DCPIGetMetric()

const DCPIProfileMetric* DCPIProfile::DCPIGetMetric ( unsigned int  i) const
inline

Definition at line 102 of file DCPIProfile.hpp.

Here is the call graph for this function:

◆ ddump()

void DCPIProfile::ddump ( )

Definition at line 95 of file DCPIProfile.cpp.

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

◆ dump()

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

Definition at line 88 of file DCPIProfile.cpp.

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

◆ Filter()

PCProfileMetricSet * PCProfileMetricSet::Filter ( MetricFilter filter) const
inherited

Definition at line 107 of file PCProfile.cpp.

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

◆ GetHdrInfo()

const std::string& PCProfile::GetHdrInfo ( ) const
inlineinherited

Definition at line 233 of file PCProfile.hpp.

Here is the caller graph for this function:

◆ GetISA()

ISA* PCProfileMetricSet::GetISA ( ) const
inlineinherited

Definition at line 136 of file PCProfile.hpp.

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

◆ GetMetric()

const PCProfileMetric* PCProfile::GetMetric ( unsigned int  i) const
inlineinherited

Definition at line 248 of file PCProfile.hpp.

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

◆ GetNumMetrics()

unsigned int PCProfile::GetNumMetrics ( ) const
inlineinherited

Definition at line 251 of file PCProfile.hpp.

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

◆ GetNumPCs()

unsigned int PCProfile::GetNumPCs ( )
inlineinherited

Definition at line 255 of file PCProfile.hpp.

Here is the call graph for this function:

◆ GetPMMode()

PMMode DCPIProfile::GetPMMode ( ) const
inline

Definition at line 107 of file DCPIProfile.hpp.

Here is the caller graph for this function:

◆ GetProfiledFile()

const std::string& PCProfile::GetProfiledFile ( ) const
inlineinherited

Definition at line 232 of file PCProfile.hpp.

Here is the caller graph for this function:

◆ GetSz()

unsigned int PCProfileMetricSet::GetSz ( ) const
inlineinherited

Definition at line 128 of file PCProfile.hpp.

Here is the caller graph for this function:

◆ GetTxtStart()

VMA PCProfile::GetTxtStart ( ) const
inlineinherited

Definition at line 244 of file PCProfile.hpp.

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

◆ GetTxtSz()

VMA PCProfile::GetTxtSz ( ) const
inlineinherited

Definition at line 245 of file PCProfile.hpp.

Here is the call graph for this function:

◆ Index()

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

Definition at line 116 of file PCProfile.hpp.

Here is the caller graph for this function:

◆ operator=()

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

Definition at line 116 of file DCPIProfile.hpp.

◆ operator[]() [1/2]

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

Definition at line 117 of file PCProfile.hpp.

◆ operator[]() [2/2]

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

Definition at line 122 of file PCProfile.hpp.

◆ SetDCPIMetric()

void DCPIProfile::SetDCPIMetric ( unsigned int  i,
DCPIProfileMetric m 
)
inline

Definition at line 105 of file DCPIProfile.hpp.

Here is the call graph for this function:

◆ SetHdrInfo() [1/2]

void PCProfile::SetHdrInfo ( const char *  s)
inlineinherited

Definition at line 238 of file PCProfile.hpp.

Here is the caller graph for this function:

◆ SetHdrInfo() [2/2]

void PCProfile::SetHdrInfo ( const std::string &  s)
inlineinherited

Definition at line 239 of file PCProfile.hpp.

◆ SetMetric()

void PCProfile::SetMetric ( unsigned int  i,
const PCProfileMetric m 
)
inlineinherited

Definition at line 249 of file PCProfile.hpp.

Here is the call graph for this function:

◆ SetNumMetrics()

void PCProfile::SetNumMetrics ( unsigned int  sz)
inlineinherited

Definition at line 252 of file PCProfile.hpp.

Here is the call graph for this function:

◆ SetPMMode()

void DCPIProfile::SetPMMode ( PMMode  x)
inline

Definition at line 108 of file DCPIProfile.hpp.

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

◆ SetProfiledFile() [1/2]

void PCProfile::SetProfiledFile ( const char *  s)
inlineinherited

Definition at line 235 of file PCProfile.hpp.

Here is the caller graph for this function:

◆ SetProfiledFile() [2/2]

void PCProfile::SetProfiledFile ( const std::string &  s)
inlineinherited

Definition at line 236 of file PCProfile.hpp.

◆ SetSz()

void PCProfileMetricSet::SetSz ( unsigned int  sz)
inlineinherited

Definition at line 129 of file PCProfile.hpp.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ DCPIProfileMetricSetIterator

friend class DCPIProfileMetricSetIterator
friend

Definition at line 118 of file DCPIProfile.hpp.

Member Data Documentation

◆ pmmode

PMMode DCPIProfile::pmmode
private

Definition at line 122 of file DCPIProfile.hpp.


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