HPCToolkit
DerivedProfileMetric Class Reference

#include <DerivedProfile.hpp>

Collaboration diagram for DerivedProfileMetric:

Public Member Functions

 DerivedProfileMetric (const PCProfileMetricSet *s=NULL)
 
 DerivedProfileMetric (const PCProfileMetric *m)
 
virtual ~DerivedProfileMetric ()
 
const std::string & GetName () const
 
const std::string & GetNativeName () const
 
const std::string & GetDescription () const
 
ulong GetPeriod () const
 
void SetName (const char *s)
 
void SetName (const std::string &s)
 
void SetNativeName (const char *s)
 
void SetNativeName (const std::string &s)
 
void SetDescription (const char *s)
 
void SetDescription (const std::string &s)
 
void SetPeriod (ulong p)
 
const PCProfileMetricSetGetMetricSet () const
 
void SetMetricSet (const PCProfileMetricSet *s)
 
const PCSetGetPCSet () const
 
void MakeDerivedPCSetCoterminousWithPCSet ()
 
bool FindPC (VMA pc, ushort opIndex)
 
void InsertPC (VMA pc, ushort opIndex)
 
void Dump (std::ostream &o=std::cerr)
 
void DDump ()
 

Private Member Functions

 DerivedProfileMetric (const DerivedProfileMetric &m)
 
DerivedProfileMetricoperator= (const DerivedProfileMetric &m)
 
void Ctor (const PCProfileMetricSet *s)
 

Private Attributes

std::string name
 
std::string nativeName
 
std::string description
 
ulong period
 
PCProfileMetricSetmset
 
PCSetpcset
 

Detailed Description

Definition at line 202 of file DerivedProfile.hpp.

Constructor & Destructor Documentation

◆ DerivedProfileMetric() [1/3]

DerivedProfileMetric::DerivedProfileMetric ( const PCProfileMetricSet s = NULL)

Definition at line 216 of file DerivedProfile.cpp.

◆ DerivedProfileMetric() [2/3]

DerivedProfileMetric::DerivedProfileMetric ( const PCProfileMetric m)

Definition at line 221 of file DerivedProfile.cpp.

Here is the call graph for this function:

◆ ~DerivedProfileMetric()

DerivedProfileMetric::~DerivedProfileMetric ( )
virtual

Definition at line 240 of file DerivedProfile.cpp.

◆ DerivedProfileMetric() [3/3]

DerivedProfileMetric::DerivedProfileMetric ( const DerivedProfileMetric m)
inlineprivate

Definition at line 265 of file DerivedProfile.hpp.

Member Function Documentation

◆ Ctor()

void DerivedProfileMetric::Ctor ( const PCProfileMetricSet s)
private

Definition at line 234 of file DerivedProfile.cpp.

◆ DDump()

void DerivedProfileMetric::DDump ( )

Definition at line 257 of file DerivedProfile.cpp.

Here is the call graph for this function:

◆ Dump()

void DerivedProfileMetric::Dump ( std::ostream &  o = std::cerr)

Definition at line 248 of file DerivedProfile.cpp.

Here is the caller graph for this function:

◆ FindPC()

bool DerivedProfileMetric::FindPC ( VMA  pc,
ushort  opIndex 
)
inline

Definition at line 245 of file DerivedProfile.hpp.

Here is the caller graph for this function:

◆ GetDescription()

const std::string& DerivedProfileMetric::GetDescription ( ) const
inline

Definition at line 220 of file DerivedProfile.hpp.

◆ GetMetricSet()

const PCProfileMetricSet* DerivedProfileMetric::GetMetricSet ( ) const
inline

Definition at line 235 of file DerivedProfile.hpp.

Here is the caller graph for this function:

◆ GetName()

const std::string& DerivedProfileMetric::GetName ( ) const
inline

Definition at line 218 of file DerivedProfile.hpp.

Here is the caller graph for this function:

◆ GetNativeName()

const std::string& DerivedProfileMetric::GetNativeName ( ) const
inline

Definition at line 219 of file DerivedProfile.hpp.

Here is the caller graph for this function:

◆ GetPCSet()

const PCSet* DerivedProfileMetric::GetPCSet ( ) const
inline

Definition at line 241 of file DerivedProfile.hpp.

◆ GetPeriod()

ulong DerivedProfileMetric::GetPeriod ( ) const
inline

Definition at line 221 of file DerivedProfile.hpp.

Here is the caller graph for this function:

◆ InsertPC()

void DerivedProfileMetric::InsertPC ( VMA  pc,
ushort  opIndex 
)
inline

Definition at line 254 of file DerivedProfile.hpp.

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

◆ MakeDerivedPCSetCoterminousWithPCSet()

void DerivedProfileMetric::MakeDerivedPCSetCoterminousWithPCSet ( )
inline

Definition at line 243 of file DerivedProfile.hpp.

Here is the caller graph for this function:

◆ operator=()

DerivedProfileMetric& DerivedProfileMetric::operator= ( const DerivedProfileMetric m)
inlineprivate

Definition at line 266 of file DerivedProfile.hpp.

◆ SetDescription() [1/2]

void DerivedProfileMetric::SetDescription ( const char *  s)
inline

Definition at line 229 of file DerivedProfile.hpp.

Here is the caller graph for this function:

◆ SetDescription() [2/2]

void DerivedProfileMetric::SetDescription ( const std::string &  s)
inline

Definition at line 230 of file DerivedProfile.hpp.

◆ SetMetricSet()

void DerivedProfileMetric::SetMetricSet ( const PCProfileMetricSet s)
inline

Definition at line 236 of file DerivedProfile.hpp.

◆ SetName() [1/2]

void DerivedProfileMetric::SetName ( const char *  s)
inline

Definition at line 223 of file DerivedProfile.hpp.

Here is the caller graph for this function:

◆ SetName() [2/2]

void DerivedProfileMetric::SetName ( const std::string &  s)
inline

Definition at line 224 of file DerivedProfile.hpp.

◆ SetNativeName() [1/2]

void DerivedProfileMetric::SetNativeName ( const char *  s)
inline

Definition at line 226 of file DerivedProfile.hpp.

Here is the caller graph for this function:

◆ SetNativeName() [2/2]

void DerivedProfileMetric::SetNativeName ( const std::string &  s)
inline

Definition at line 227 of file DerivedProfile.hpp.

◆ SetPeriod()

void DerivedProfileMetric::SetPeriod ( ulong  p)
inline

Definition at line 232 of file DerivedProfile.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ description

std::string DerivedProfileMetric::description
private

Definition at line 275 of file DerivedProfile.hpp.

◆ mset

PCProfileMetricSet* DerivedProfileMetric::mset
private

Definition at line 278 of file DerivedProfile.hpp.

◆ name

std::string DerivedProfileMetric::name
private

Definition at line 273 of file DerivedProfile.hpp.

◆ nativeName

std::string DerivedProfileMetric::nativeName
private

Definition at line 274 of file DerivedProfile.hpp.

◆ pcset

PCSet* DerivedProfileMetric::pcset
private

Definition at line 279 of file DerivedProfile.hpp.

◆ period

ulong DerivedProfileMetric::period
private

Definition at line 276 of file DerivedProfile.hpp.


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