HPCToolkit
Analysis::Flat::MetricCursor Class Reference
Collaboration diagram for Analysis::Flat::MetricCursor:

Public Member Functions

 MetricCursor (const Prof::Metric::Mgr &metricMgr, const Prof::Flat::LM &proflm, const BinUtil::LM &lm)
 
 ~MetricCursor ()
 
const vector< const Prof::Flat::EventData * > & metricDescs () const
 
const vector< uint64_t > & metricTots () const
 
const vector< uint64_t > & computeMetricForVMA (VMA vma)
 
const vector< uint64_t > & computeMetricVals (const VMAInterval vmaint, bool advanceIndices)
 
const vector< uint64_t > & metricValAtVMA () const
 

Static Public Member Functions

static bool hasNonZeroMetricVal (const vector< uint64_t > &metricVal)
 
static bool hasMetricValGE (const vector< uint64_t > &metricVal, uint64_t val)
 

Private Member Functions

VMA unrelocate (VMA vma) const
 

Private Attributes

bool m_doUnrelocate
 
VMA m_loadAddr
 
vector< const Prof::Flat::EventData * > m_metricDescs
 
vector< uint64_t > m_metricTots
 
vector< uintm_curMetricIdx
 
vector< uint64_t > m_metricValAtVMA
 

Detailed Description

Definition at line 104 of file Flat-ObjCorrelation.cpp.

Constructor & Destructor Documentation

◆ MetricCursor()

Analysis::Flat::MetricCursor::MetricCursor ( const Prof::Metric::Mgr metricMgr,
const Prof::Flat::LM proflm,
const BinUtil::LM lm 
)

Definition at line 165 of file Flat-ObjCorrelation.cpp.

Here is the call graph for this function:

◆ ~MetricCursor()

Analysis::Flat::MetricCursor::~MetricCursor ( )

Definition at line 212 of file Flat-ObjCorrelation.cpp.

Member Function Documentation

◆ computeMetricForVMA()

const vector<uint64_t>& Analysis::Flat::MetricCursor::computeMetricForVMA ( VMA  vma)
inline

Definition at line 125 of file Flat-ObjCorrelation.cpp.

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

◆ computeMetricVals()

const vector< uint64_t > & Analysis::Flat::MetricCursor::computeMetricVals ( const VMAInterval  vmaint,
bool  advanceIndices 
)

Definition at line 218 of file Flat-ObjCorrelation.cpp.

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

◆ hasMetricValGE()

bool Analysis::Flat::MetricCursor::hasMetricValGE ( const vector< uint64_t > &  metricVal,
uint64_t  val 
)
static

Definition at line 280 of file Flat-ObjCorrelation.cpp.

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

◆ hasNonZeroMetricVal()

static bool Analysis::Flat::MetricCursor::hasNonZeroMetricVal ( const vector< uint64_t > &  metricVal)
inlinestatic

Definition at line 139 of file Flat-ObjCorrelation.cpp.

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

◆ metricDescs()

const vector<const Prof::Flat::EventData*>& Analysis::Flat::MetricCursor::metricDescs ( ) const
inline

Definition at line 112 of file Flat-ObjCorrelation.cpp.

◆ metricTots()

const vector<uint64_t>& Analysis::Flat::MetricCursor::metricTots ( ) const
inline

Definition at line 116 of file Flat-ObjCorrelation.cpp.

Here is the caller graph for this function:

◆ metricValAtVMA()

const vector<uint64_t>& Analysis::Flat::MetricCursor::metricValAtVMA ( ) const
inline

Definition at line 136 of file Flat-ObjCorrelation.cpp.

◆ unrelocate()

VMA Analysis::Flat::MetricCursor::unrelocate ( VMA  vma) const
inlineprivate

Definition at line 147 of file Flat-ObjCorrelation.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ m_curMetricIdx

vector<uint> Analysis::Flat::MetricCursor::m_curMetricIdx
private

Definition at line 160 of file Flat-ObjCorrelation.cpp.

◆ m_doUnrelocate

bool Analysis::Flat::MetricCursor::m_doUnrelocate
private

Definition at line 154 of file Flat-ObjCorrelation.cpp.

◆ m_loadAddr

VMA Analysis::Flat::MetricCursor::m_loadAddr
private

Definition at line 155 of file Flat-ObjCorrelation.cpp.

◆ m_metricDescs

vector<const Prof::Flat::EventData*> Analysis::Flat::MetricCursor::m_metricDescs
private

Definition at line 157 of file Flat-ObjCorrelation.cpp.

◆ m_metricTots

vector<uint64_t> Analysis::Flat::MetricCursor::m_metricTots
private

Definition at line 158 of file Flat-ObjCorrelation.cpp.

◆ m_metricValAtVMA

vector<uint64_t> Analysis::Flat::MetricCursor::m_metricValAtVMA
private

Definition at line 161 of file Flat-ObjCorrelation.cpp.


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