HPCToolkit
Prof::CCT::Call Class Reference

#include <CCT-Tree.hpp>

Inheritance diagram for Prof::CCT::Call:
Collaboration diagram for Prof::CCT::Call:

Public Types

enum  ANodeTy {
  TyRoot = 0, TyProcFrm, TyProc, TyLoop,
  TyCall, TyStmt, TyANY, TyNUMBER
}
 
typedef std::vector< ANode * > Vec
 
typedef std::vector< hpcrun_metricVal_tMetricVec
 

Public Member Functions

 Call (ANode *parent, uint cpId)
 
 Call (ANode *parent, uint cpId, hpcrun_fmt_cct_node_t node_fmt, LoadMap::LMId_t lmId, VMA ip, ushort opIdx, lush_lip_t *lip, const Metric::IData &metrics)
 
virtual ~Call ()
 
virtual VMA lmIP () const
 
VMA lmRA () const
 
virtual std::string toStringMe (uint oFlags=0) const
 
uint cpId () const
 
void cpId (uint id)
 
lush_assoc_info_t assocInfo () const
 
void assocInfo (lush_assoc_info_t x)
 
lush_assoc_t assoc () const
 
LoadMap::LMId_t lmId () const
 
void lmId (LoadMap::LMId_t x)
 
LoadMap::LMId_t lmId_real () const
 
void lmId_real (LoadMap::LMId_t x)
 
void lmIP (VMA lmIP, ushort opIdx)
 
VMA lmIP_real () const
 
ushort opIndex () const
 
lush_lip_tlip () const
 
void lip (const lush_lip_t *lip)
 
bool isValid_lip () const
 
bool isPrimarySynthRoot () const
 
bool isSecondarySynthRoot () const
 
virtual MergeEffect mergeMe (const ANode &y, MergeContext *mrgCtxt=NULL, uint metricBegIdx=0, bool mayConflict=true)
 
std::string assocInfo_str () const
 
std::string lip_str () const
 
std::string nameDyn () const
 
void writeDyn (std::ostream &os, uint oFlags=0, const char *prefix="") const
 
ANodeTy type () const
 
uint id () const
 
void id (uint id)
 
virtual const std::string & name () const
 
Struct::ACodeNodestructure () const
 
void structure (const Struct::ACodeNode *strct)
 
uint structureId () const
 
SrcFile::ln begLine () const
 
SrcFile::ln endLine () const
 
void hpcrun_node_type (uint16_t type)
 
uint16_t hpcrun_node_type () const
 
ANodeparent () const
 
ANodefirstChild () const
 
ANodelastChild () const
 
ANodenextSibling () const
 
ANodeprevSibling () const
 
ANodeancestor (ANodeTy tp) const
 
RootancestorRoot () const
 
ProcFrmancestorProcFrm () const
 
ProcancestorProc () const
 
LoopancestorLoop () const
 
CallancestorCall () const
 
StmtancestorStmt () const
 
void zeroMetricsDeep (uint mBegId, uint mEndId)
 
void aggregateMetricsIncl (uint mBegId, uint mEndId)
 
void aggregateMetricsIncl (const VMAIntervalSet &ivalset)
 
void aggregateMetricsIncl (uint mBegId)
 
void aggregateMetricsExcl (uint mBegId, uint mEndId)
 
void aggregateMetricsExcl (const VMAIntervalSet &ivalset)
 
void aggregateMetricsExcl (uint mBegId)
 
void computeMetrics (const Metric::Mgr &mMgr, uint mBegId, uint mEndId, bool doFinal)
 
void computeMetricsMe (const Metric::Mgr &mMgr, uint mBegId, uint mEndId, bool doFinal)
 
void computeMetricsIncr (const Metric::Mgr &mMgr, uint mBegId, uint mEndId, Metric::AExprIncr::FnTy fn)
 
void computeMetricsIncrMe (const Metric::Mgr &mMgr, uint mBegId, uint mEndId, Metric::AExprIncr::FnTy fn)
 
void pruneByMetrics (const Metric::Mgr &mMgr, const VMAIntervalSet &ivalset, const ANode *root, double thresholdPct, uint8_t *prunedNodes=NULL)
 
void pruneChildrenByNodeId (const uint8_t *prunedNodes)
 
std::list< MergeEffect > * mergeDeep (ANode *y, uint x_numMetrics, MergeContext &mrgCtxt, uint oFlag=0)
 
MergeEffect merge (ANode *y)
 
CCT::ADynNodefindDynChild (const ADynNode &y_dyn)
 
uint makeDensePreorderIds (uint nextId)
 
virtual std::string toString (const Metric::Mgr *metricMgr, uint oFlags=0, const char *pfx="") const
 
virtual std::string toString (uint oFlags=0, const char *pfx="") const
 
std::ostream & writeXML (std::ostream &os, const Metric::Mgr *metricMgr, uint metricBeg=Metric::IData::npos, uint metricEnd=Metric::IData::npos, uint oFlags=0, const char *pfx="") const
 
std::ostream & writeXML_path (std::ostream &os, const Metric::Mgr *metricMgr, uint metricBeg=Metric::IData::npos, uint metricEnd=Metric::IData::npos, uint oFlags=0, const char *pfx="") const
 
std::ostream & dump (const Metric::Mgr *metricMgr, std::ostream &os=std::cerr, uint oFlags=0, const char *pfx="") const
 
void adump (const Metric::Mgr *metricMgr) const
 
void ddump (const Metric::Mgr *metricMgr) const
 
void ddumpMe () const
 
virtual std::string codeName () const
 
void link (NonUniformDegreeTreeNode *parent)
 
void linkBefore (NonUniformDegreeTreeNode *sibling)
 
void linkAfter (NonUniformDegreeTreeNode *sibling)
 
void unlink ()
 
uint ancestorCount () const
 
uint childCount () const
 
bool isLeaf () const
 
uint maxDepth ()
 
uint maxDepth (uint parentDepth)
 
NonUniformDegreeTreeNodeParent () const
 
NonUniformDegreeTreeNodeNextSibling () const
 
NonUniformDegreeTreeNodePrevSibling () const
 
NonUniformDegreeTreeNodeFirstChild () const
 
NonUniformDegreeTreeNodeLastChild () const
 
bool hasMetrics (uint mBegId=Metric::IData::npos, uint mEndId=Metric::IData::npos) const
 
bool hasMetric (size_t mId) const
 
bool hasMetricSlow (size_t mId) const
 
double metric (size_t mId) const
 
double & metric (size_t mId)
 
hpcrun_metricVal_tmetricObject (size_t mId)
 
double demandMetric (size_t mId, size_t size=0) const
 
double & demandMetric (size_t mId, size_t size=0)
 
void zeroMetrics (uint mBegId, uint mEndId)
 
void clearMetrics ()
 
void ensureMetricsSize (size_t size) const
 
void insertMetricsBefore (size_t numMetrics)
 
uint numMetrics () const
 
std::string toStringMetrics (int oFlags=0, const char *pfx="") const
 
std::ostream & writeMetricsXML (std::ostream &os, const Mgr *metricMgr, uint mBegId=Metric::IData::npos, uint mEndId=Metric::IData::npos, int oFlags=0, const char *pfx="") const
 
std::ostream & dumpMetrics (std::ostream &os=std::cerr, int oFlags=0, const char *pfx="") const
 
void ddumpMetrics () const
 

Static Public Member Functions

static lush_lip_tclone_lip (const lush_lip_t *x)
 
static Struct::ACodeNodeancestorIfNotProc (Struct::ACodeNode *n)
 
static bool isMergable (const ADynNode &x, const ADynNode &y)
 
static bool hasMergeEffects (const ADynNode &x, const ADynNode &y)
 
static const std::string & ANodeTyToName (ANodeTy tp)
 
static ANodeTy IntToANodeType (long i)
 
static void pruneByNodeId (ANode *&x, const uint8_t *prunedNodes)
 
static bool deleteChaff (ANode *x, uint8_t *deletedNodes=NULL)
 

Static Public Attributes

static const uint npos = UINT_MAX
 

Protected Member Functions

bool writeXML_pre (std::ostream &os, const Metric::Mgr *metricMgr, uint metricBeg=Metric::IData::npos, uint metricEnd=Metric::IData::npos, uint oFlags=0, const char *pfx="") const
 
void writeXML_post (std::ostream &os, uint oFlags=0, const char *pfx="") const
 
MergeEffectListmergeDeep_fixInsert (int newMetrics, MergeContext &mrgCtxt)
 
void zeroLinks ()
 

Protected Attributes

ANodeTy m_type
 
uint16_t m_hpcrun_type
 
uint m_id
 
Struct::ACodeNodem_strct
 
NonUniformDegreeTreeNodem_parent
 
NonUniformDegreeTreeNodem_children
 
NonUniformDegreeTreeNodem_next_sibling
 
NonUniformDegreeTreeNodem_prev_sibling
 
uint m_child_count
 

Detailed Description

Definition at line 1275 of file CCT-Tree.hpp.

Member Typedef Documentation

◆ MetricVec

typedef std::vector<hpcrun_metricVal_t> Prof::Metric::IData::MetricVec
inherited

Definition at line 107 of file Metric-IData.hpp.

◆ Vec

typedef std::vector<ANode*> Prof::CCT::ANode::Vec
inherited

Definition at line 299 of file CCT-Tree.hpp.

Member Enumeration Documentation

◆ ANodeTy

enum Prof::CCT::ANode::ANodeTy
inherited
Enumerator
TyRoot 
TyProcFrm 
TyProc 
TyLoop 
TyCall 
TyStmt 
TyANY 
TyNUMBER 

Definition at line 302 of file CCT-Tree.hpp.

Constructor & Destructor Documentation

◆ Call() [1/2]

Prof::CCT::Call::Call ( ANode parent,
uint  cpId 
)
inline

Definition at line 1280 of file CCT-Tree.hpp.

◆ Call() [2/2]

Prof::CCT::Call::Call ( ANode parent,
uint  cpId,
hpcrun_fmt_cct_node_t  node_fmt,
LoadMap::LMId_t  lmId,
VMA  ip,
ushort  opIdx,
lush_lip_t lip,
const Metric::IData metrics 
)
inline

Definition at line 1284 of file CCT-Tree.hpp.

◆ ~Call()

virtual Prof::CCT::Call::~Call ( )
inlinevirtual

Definition at line 1293 of file CCT-Tree.hpp.

Member Function Documentation

◆ adump()

void Prof::CCT::ANode::adump ( const Metric::Mgr metricMgr) const
inherited

Definition at line 1456 of file CCT-Tree.cpp.

◆ aggregateMetricsExcl() [1/3]

void Prof::CCT::ANode::aggregateMetricsExcl ( uint  mBegId,
uint  mEndId 
)
inherited

Definition at line 505 of file CCT-Tree.cpp.

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

◆ aggregateMetricsExcl() [2/3]

void Prof::CCT::ANode::aggregateMetricsExcl ( const VMAIntervalSet ivalset)
inherited

Definition at line 516 of file CCT-Tree.cpp.

◆ aggregateMetricsExcl() [3/3]

void Prof::CCT::ANode::aggregateMetricsExcl ( uint  mBegId)
inlineinherited

Definition at line 523 of file CCT-Tree.hpp.

Here is the call graph for this function:

◆ aggregateMetricsIncl() [1/3]

void Prof::CCT::ANode::aggregateMetricsIncl ( uint  mBegId,
uint  mEndId 
)
inherited

Definition at line 458 of file CCT-Tree.cpp.

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

◆ aggregateMetricsIncl() [2/3]

void Prof::CCT::ANode::aggregateMetricsIncl ( const VMAIntervalSet ivalset)
inherited

Definition at line 469 of file CCT-Tree.cpp.

Here is the call graph for this function:

◆ aggregateMetricsIncl() [3/3]

void Prof::CCT::ANode::aggregateMetricsIncl ( uint  mBegId)
inlineinherited

Definition at line 510 of file CCT-Tree.hpp.

◆ ancestor()

ANode * Prof::CCT::ANode::ancestor ( ANodeTy  tp) const
inherited

Definition at line 365 of file CCT-Tree.cpp.

Here is the call graph for this function:

◆ ancestorCall()

Call * Prof::CCT::ANode::ancestorCall ( ) const
inherited

Definition at line 426 of file CCT-Tree.cpp.

◆ ancestorCount()

uint NonUniformDegreeTreeNode::ancestorCount ( ) const
inherited

Definition at line 183 of file NonUniformDegreeTree.cpp.

Here is the caller graph for this function:

◆ ancestorIfNotProc()

static Struct::ACodeNode* Prof::CCT::ADynNode::ancestorIfNotProc ( Struct::ACodeNode n)
inlinestaticinherited

Definition at line 924 of file CCT-Tree.hpp.

Here is the call graph for this function:

◆ ancestorLoop()

Loop * Prof::CCT::ANode::ancestorLoop ( ) const
inherited

Definition at line 419 of file CCT-Tree.cpp.

◆ ancestorProc()

Proc * Prof::CCT::ANode::ancestorProc ( ) const
inherited

Definition at line 412 of file CCT-Tree.cpp.

◆ ancestorProcFrm()

ProcFrm * Prof::CCT::ANode::ancestorProcFrm ( ) const
inherited

Definition at line 405 of file CCT-Tree.cpp.

Here is the caller graph for this function:

◆ ancestorRoot()

Root * Prof::CCT::ANode::ancestorRoot ( ) const
inherited

Definition at line 393 of file CCT-Tree.cpp.

◆ ancestorStmt()

Stmt * Prof::CCT::ANode::ancestorStmt ( ) const
inherited

Definition at line 433 of file CCT-Tree.cpp.

◆ ANodeTyToName()

const string & Prof::CCT::ANode::ANodeTyToName ( ANodeTy  tp)
staticinherited

Definition at line 327 of file CCT-Tree.cpp.

◆ assoc()

lush_assoc_t Prof::CCT::ADynNode::assoc ( ) const
inlineinherited

Definition at line 813 of file CCT-Tree.hpp.

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

◆ assocInfo() [1/2]

lush_assoc_info_t Prof::CCT::ADynNode::assocInfo ( ) const
inlineinherited

Definition at line 805 of file CCT-Tree.hpp.

Here is the caller graph for this function:

◆ assocInfo() [2/2]

void Prof::CCT::ADynNode::assocInfo ( lush_assoc_info_t  x)
inlineinherited

Definition at line 809 of file CCT-Tree.hpp.

◆ assocInfo_str()

string Prof::CCT::ADynNode::assocInfo_str ( ) const
inherited

Definition at line 1163 of file CCT-Tree.cpp.

Here is the call graph for this function:

◆ begLine()

SrcFile::ln Prof::CCT::ANode::begLine ( ) const
inlineinherited

Definition at line 413 of file CCT-Tree.hpp.

Here is the caller graph for this function:

◆ childCount()

uint NonUniformDegreeTreeNode::childCount ( ) const
inlineinherited

Definition at line 163 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

◆ clearMetrics()

void Prof::Metric::IData::clearMetrics ( )
inlineinherited

Definition at line 210 of file Metric-IData.hpp.

Here is the caller graph for this function:

◆ clone_lip()

static lush_lip_t* Prof::CCT::ADynNode::clone_lip ( const lush_lip_t x)
inlinestaticinherited

Definition at line 887 of file CCT-Tree.hpp.

◆ codeName()

string Prof::CCT::ANode::codeName ( ) const
virtualinherited

Reimplemented in Prof::CCT::ProcFrm.

Definition at line 1086 of file CCT-Tree.cpp.

Here is the call graph for this function:

◆ computeMetrics()

void Prof::CCT::ANode::computeMetrics ( const Metric::Mgr mMgr,
uint  mBegId,
uint  mEndId,
bool  doFinal 
)
inherited

Definition at line 605 of file CCT-Tree.cpp.

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

◆ computeMetricsIncr()

void Prof::CCT::ANode::computeMetricsIncr ( const Metric::Mgr mMgr,
uint  mBegId,
uint  mEndId,
Metric::AExprIncr::FnTy  fn 
)
inherited

Definition at line 644 of file CCT-Tree.cpp.

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

◆ computeMetricsIncrMe()

void Prof::CCT::ANode::computeMetricsIncrMe ( const Metric::Mgr mMgr,
uint  mBegId,
uint  mEndId,
Metric::AExprIncr::FnTy  fn 
)
inherited

Definition at line 662 of file CCT-Tree.cpp.

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

◆ computeMetricsMe()

void Prof::CCT::ANode::computeMetricsMe ( const Metric::Mgr mMgr,
uint  mBegId,
uint  mEndId,
bool  doFinal 
)
inherited

Definition at line 623 of file CCT-Tree.cpp.

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

◆ cpId() [1/2]

uint Prof::CCT::ADynNode::cpId ( ) const
inlineinherited

Definition at line 791 of file CCT-Tree.hpp.

Here is the caller graph for this function:

◆ cpId() [2/2]

void Prof::CCT::ADynNode::cpId ( uint  id)
inlineinherited

Definition at line 796 of file CCT-Tree.hpp.

◆ ddump()

void Prof::CCT::ANode::ddump ( const Metric::Mgr metricMgr) const
inherited

Definition at line 1464 of file CCT-Tree.cpp.

Here is the call graph for this function:

◆ ddumpMe()

void Prof::CCT::ANode::ddumpMe ( ) const
inherited

Definition at line 1472 of file CCT-Tree.cpp.

Here is the call graph for this function:

◆ ddumpMetrics()

void Prof::Metric::IData::ddumpMetrics ( ) const
inherited

Definition at line 155 of file Metric-IData.cpp.

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

◆ deleteChaff()

bool Prof::CCT::ANode::deleteChaff ( ANode x,
uint8_t *  deletedNodes = NULL 
)
staticinherited

Definition at line 787 of file CCT-Tree.cpp.

Here is the call graph for this function:

◆ demandMetric() [1/2]

double Prof::Metric::IData::demandMetric ( size_t  mId,
size_t  size = 0 
) const
inlineinherited

Definition at line 182 of file Metric-IData.hpp.

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

◆ demandMetric() [2/2]

double& Prof::Metric::IData::demandMetric ( size_t  mId,
size_t  size = 0 
)
inlineinherited

Definition at line 190 of file Metric-IData.hpp.

Here is the call graph for this function:

◆ dump()

std::ostream& Prof::CCT::ANode::dump ( const Metric::Mgr metricMgr,
std::ostream &  os = std::cerr,
uint  oFlags = 0,
const char *  pfx = "" 
) const
inherited
Here is the caller graph for this function:

◆ dumpMetrics()

std::ostream & Prof::Metric::IData::dumpMetrics ( std::ostream &  os = std::cerr,
int  oFlags = 0,
const char *  pfx = "" 
) const
inherited

Definition at line 147 of file Metric-IData.cpp.

Here is the caller graph for this function:

◆ endLine()

SrcFile::ln Prof::CCT::ANode::endLine ( ) const
inlineinherited

Definition at line 417 of file CCT-Tree.hpp.

Here is the caller graph for this function:

◆ ensureMetricsSize()

void Prof::Metric::IData::ensureMetricsSize ( size_t  size) const
inlineinherited

Definition at line 217 of file Metric-IData.hpp.

Here is the caller graph for this function:

◆ findDynChild()

ADynNode * Prof::CCT::ANode::findDynChild ( const ADynNode y_dyn)
inherited

Definition at line 995 of file CCT-Tree.cpp.

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

◆ FirstChild()

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::FirstChild ( ) const
inlineinherited

Definition at line 197 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

◆ firstChild()

ANode* Prof::CCT::ANode::firstChild ( ) const
inlineinherited

Definition at line 438 of file CCT-Tree.hpp.

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

◆ hasMergeEffects()

static bool Prof::CCT::ADynNode::hasMergeEffects ( const ADynNode x,
const ADynNode y 
)
inlinestaticinherited

Definition at line 966 of file CCT-Tree.hpp.

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

◆ hasMetric()

bool Prof::Metric::IData::hasMetric ( size_t  mId) const
inlineinherited

Definition at line 158 of file Metric-IData.hpp.

Here is the caller graph for this function:

◆ hasMetrics()

bool Prof::Metric::IData::hasMetrics ( uint  mBegId = Metric::IData::npos,
uint  mEndId = Metric::IData::npos 
) const
inlineinherited

Definition at line 141 of file Metric-IData.hpp.

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

◆ hasMetricSlow()

bool Prof::Metric::IData::hasMetricSlow ( size_t  mId) const
inlineinherited

Definition at line 162 of file Metric-IData.hpp.

Here is the call graph for this function:

◆ hpcrun_node_type() [1/2]

void Prof::CCT::ANode::hpcrun_node_type ( uint16_t  type)
inlineinherited

Definition at line 422 of file CCT-Tree.hpp.

Here is the caller graph for this function:

◆ hpcrun_node_type() [2/2]

uint16_t Prof::CCT::ANode::hpcrun_node_type ( ) const
inlineinherited

Definition at line 426 of file CCT-Tree.hpp.

◆ id() [1/2]

uint Prof::CCT::ANode::id ( ) const
inlineinherited

Definition at line 383 of file CCT-Tree.hpp.

Here is the caller graph for this function:

◆ id() [2/2]

void Prof::CCT::ANode::id ( uint  id)
inlineinherited

Definition at line 388 of file CCT-Tree.hpp.

◆ insertMetricsBefore()

void Prof::Metric::IData::insertMetricsBefore ( size_t  numMetrics)
inlineinherited

Definition at line 226 of file Metric-IData.hpp.

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

◆ IntToANodeType()

ANode::ANodeTy Prof::CCT::ANode::IntToANodeType ( long  i)
staticinherited

Definition at line 334 of file CCT-Tree.cpp.

Here is the caller graph for this function:

◆ isLeaf()

bool NonUniformDegreeTreeNode::isLeaf ( ) const
inlineinherited

Definition at line 167 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

◆ isMergable()

static bool Prof::CCT::ADynNode::isMergable ( const ADynNode x,
const ADynNode y 
)
inlinestaticinherited

Definition at line 931 of file CCT-Tree.hpp.

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

◆ isPrimarySynthRoot()

bool Prof::CCT::ADynNode::isPrimarySynthRoot ( ) const
inlineinherited

Definition at line 906 of file CCT-Tree.hpp.

Here is the caller graph for this function:

◆ isSecondarySynthRoot()

bool Prof::CCT::ADynNode::isSecondarySynthRoot ( ) const
inlineinherited

Definition at line 913 of file CCT-Tree.hpp.

Here is the caller graph for this function:

◆ isValid_lip()

bool Prof::CCT::ADynNode::isValid_lip ( ) const
inlineinherited

Definition at line 898 of file CCT-Tree.hpp.

Here is the call graph for this function:

◆ LastChild()

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::LastChild ( ) const
inlineinherited

Definition at line 201 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

◆ lastChild()

ANode* Prof::CCT::ANode::lastChild ( ) const
inlineinherited

Definition at line 442 of file CCT-Tree.hpp.

Here is the call graph for this function:

◆ link()

void NonUniformDegreeTreeNode::link ( NonUniformDegreeTreeNode parent)
inherited

Definition at line 97 of file NonUniformDegreeTree.cpp.

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

◆ linkAfter()

void NonUniformDegreeTreeNode::linkAfter ( NonUniformDegreeTreeNode sibling)
inherited

Definition at line 117 of file NonUniformDegreeTree.cpp.

Here is the caller graph for this function:

◆ linkBefore()

void NonUniformDegreeTreeNode::linkBefore ( NonUniformDegreeTreeNode sibling)
inherited

Definition at line 138 of file NonUniformDegreeTree.cpp.

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

◆ lip() [1/2]

lush_lip_t* Prof::CCT::ADynNode::lip ( ) const
inlineinherited

Definition at line 879 of file CCT-Tree.hpp.

Here is the caller graph for this function:

◆ lip() [2/2]

void Prof::CCT::ADynNode::lip ( const lush_lip_t lip)
inlineinherited

Definition at line 883 of file CCT-Tree.hpp.

◆ lip_str()

string Prof::CCT::ADynNode::lip_str ( ) const
inherited

Definition at line 1172 of file CCT-Tree.cpp.

Here is the call graph for this function:

◆ lmId() [1/2]

LoadMap::LMId_t Prof::CCT::ADynNode::lmId ( ) const
inlineinherited

Definition at line 823 of file CCT-Tree.hpp.

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

◆ lmId() [2/2]

void Prof::CCT::ADynNode::lmId ( LoadMap::LMId_t  x)
inlineinherited

Definition at line 834 of file CCT-Tree.hpp.

Here is the call graph for this function:

◆ lmId_real() [1/2]

LoadMap::LMId_t Prof::CCT::ADynNode::lmId_real ( ) const
inlineinherited

Definition at line 830 of file CCT-Tree.hpp.

Here is the caller graph for this function:

◆ lmId_real() [2/2]

void Prof::CCT::ADynNode::lmId_real ( LoadMap::LMId_t  x)
inlineinherited

Definition at line 841 of file CCT-Tree.hpp.

◆ lmIP() [1/2]

void Prof::CCT::ADynNode::lmIP ( VMA  lmIP,
ushort  opIdx 
)
inlineinherited

Definition at line 858 of file CCT-Tree.hpp.

Here is the call graph for this function:

◆ lmIP() [2/2]

virtual VMA Prof::CCT::Call::lmIP ( ) const
inlinevirtual

Reimplemented from Prof::CCT::ADynNode.

Definition at line 1298 of file CCT-Tree.hpp.

Here is the call graph for this function:

◆ lmIP_real()

VMA Prof::CCT::ADynNode::lmIP_real ( ) const
inlineinherited

Definition at line 854 of file CCT-Tree.hpp.

Here is the caller graph for this function:

◆ lmRA()

VMA Prof::CCT::Call::lmRA ( ) const
inline

Definition at line 1311 of file CCT-Tree.hpp.

◆ makeDensePreorderIds()

uint Prof::CCT::ANode::makeDensePreorderIds ( uint  nextId)
inherited

Definition at line 1061 of file CCT-Tree.cpp.

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

◆ maxDepth() [1/2]

uint NonUniformDegreeTreeNode::maxDepth ( )
inlineinherited

Definition at line 172 of file NonUniformDegreeTree.hpp.

Here is the call graph for this function:

◆ maxDepth() [2/2]

uint NonUniformDegreeTreeNode::maxDepth ( uint  parentDepth)
inherited

Definition at line 196 of file NonUniformDegreeTree.cpp.

Here is the call graph for this function:

◆ merge()

MergeEffect Prof::CCT::ANode::merge ( ANode y)
inherited

Definition at line 906 of file CCT-Tree.cpp.

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

◆ mergeDeep()

MergeEffectList * Prof::CCT::ANode::mergeDeep ( ANode y,
uint  x_numMetrics,
MergeContext mrgCtxt,
uint  oFlag = 0 
)
inherited

Definition at line 824 of file CCT-Tree.cpp.

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

◆ mergeDeep_fixInsert()

MergeEffectList * Prof::CCT::ANode::mergeDeep_fixInsert ( int  newMetrics,
MergeContext mrgCtxt 
)
protectedinherited

Definition at line 1020 of file CCT-Tree.cpp.

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

◆ mergeMe()

MergeEffect Prof::CCT::ADynNode::mergeMe ( const ANode y,
MergeContext mrgCtxt = NULL,
uint  metricBegIdx = 0,
bool  mayConflict = true 
)
virtualinherited

Reimplemented from Prof::CCT::ANode.

Definition at line 949 of file CCT-Tree.cpp.

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

◆ metric() [1/2]

double Prof::Metric::IData::metric ( size_t  mId) const
inlineinherited

Definition at line 167 of file Metric-IData.hpp.

Here is the caller graph for this function:

◆ metric() [2/2]

double& Prof::Metric::IData::metric ( size_t  mId)
inlineinherited

Definition at line 171 of file Metric-IData.hpp.

◆ metricObject()

hpcrun_metricVal_t& Prof::Metric::IData::metricObject ( size_t  mId)
inlineinherited

Definition at line 176 of file Metric-IData.hpp.

Here is the caller graph for this function:

◆ name()

virtual const std::string& Prof::CCT::ANode::name ( void  ) const
inlinevirtualinherited

Reimplemented in Prof::CCT::Root.

Definition at line 394 of file CCT-Tree.hpp.

Here is the caller graph for this function:

◆ nameDyn()

string Prof::CCT::ADynNode::nameDyn ( ) const
inherited

Definition at line 1181 of file CCT-Tree.cpp.

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

◆ NextSibling()

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::NextSibling ( ) const
inlineinherited

Definition at line 189 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

◆ nextSibling()

ANode* Prof::CCT::ANode::nextSibling ( ) const
inlineinherited

Definition at line 446 of file CCT-Tree.hpp.

Here is the call graph for this function:

◆ numMetrics()

uint Prof::Metric::IData::numMetrics ( ) const
inlineinherited

Definition at line 233 of file Metric-IData.hpp.

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

◆ opIndex()

ushort Prof::CCT::ADynNode::opIndex ( ) const
inlineinherited

Definition at line 870 of file CCT-Tree.hpp.

◆ Parent()

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::Parent ( ) const
inlineinherited

Definition at line 185 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

◆ parent()

ANode* Prof::CCT::ANode::parent ( ) const
inlineinherited

Definition at line 434 of file CCT-Tree.hpp.

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

◆ PrevSibling()

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::PrevSibling ( ) const
inlineinherited

Definition at line 193 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

◆ prevSibling()

ANode* Prof::CCT::ANode::prevSibling ( ) const
inlineinherited

Definition at line 456 of file CCT-Tree.hpp.

Here is the call graph for this function:

◆ pruneByMetrics()

void Prof::CCT::ANode::pruneByMetrics ( const Metric::Mgr mMgr,
const VMAIntervalSet ivalset,
const ANode root,
double  thresholdPct,
uint8_t *  prunedNodes = NULL 
)
inherited

Definition at line 691 of file CCT-Tree.cpp.

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

◆ pruneByNodeId()

static void Prof::CCT::ANode::pruneByNodeId ( ANode *&  x,
const uint8_t *  prunedNodes 
)
staticinherited
Here is the caller graph for this function:

◆ pruneChildrenByNodeId()

void Prof::CCT::ANode::pruneChildrenByNodeId ( const uint8_t *  prunedNodes)
inherited

Definition at line 765 of file CCT-Tree.cpp.

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

◆ structure() [1/2]

Struct::ACodeNode* Prof::CCT::ANode::structure ( ) const
inlineinherited

Definition at line 401 of file CCT-Tree.hpp.

Here is the caller graph for this function:

◆ structure() [2/2]

void Prof::CCT::ANode::structure ( const Struct::ACodeNode strct)
inlineinherited

Definition at line 405 of file CCT-Tree.hpp.

◆ structureId()

uint Prof::CCT::ANode::structureId ( ) const
inlineinherited

Definition at line 409 of file CCT-Tree.hpp.

Here is the caller graph for this function:

◆ toString() [1/2]

std::string NonUniformDegreeTreeNode::toString ( uint  oFlags = 0,
const char *  pfx = "" 
) const
virtualinherited

Reimplemented in Prof::Struct::ANode.

Definition at line 216 of file NonUniformDegreeTree.cpp.

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

◆ toString() [2/2]

string Prof::CCT::ANode::toString ( const Metric::Mgr metricMgr,
uint  oFlags = 0,
const char *  pfx = "" 
) const
virtualinherited

Definition at line 1125 of file CCT-Tree.cpp.

Here is the call graph for this function:

◆ toStringMe()

string Prof::CCT::Call::toStringMe ( uint  oFlags = 0) const
virtual

Reimplemented from Prof::CCT::ANode.

Definition at line 1345 of file CCT-Tree.cpp.

Here is the call graph for this function:

◆ toStringMetrics()

std::string Prof::Metric::IData::toStringMetrics ( int  oFlags = 0,
const char *  pfx = "" 
) const
inherited

Definition at line 96 of file Metric-IData.cpp.

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

◆ type()

ANodeTy Prof::CCT::ANode::type ( ) const
inlineinherited

Definition at line 374 of file CCT-Tree.hpp.

Here is the caller graph for this function:

◆ unlink()

void NonUniformDegreeTreeNode::unlink ( )
inherited

Definition at line 152 of file NonUniformDegreeTree.cpp.

Here is the caller graph for this function:

◆ writeDyn()

void Prof::CCT::ADynNode::writeDyn ( std::ostream &  os,
uint  oFlags = 0,
const char *  prefix = "" 
) const
inherited

Definition at line 1191 of file CCT-Tree.cpp.

◆ writeMetricsXML()

std::ostream & Prof::Metric::IData::writeMetricsXML ( std::ostream &  os,
const Mgr metricMgr,
uint  mBegId = Metric::IData::npos,
uint  mEndId = Metric::IData::npos,
int  oFlags = 0,
const char *  pfx = "" 
) const
inherited

Definition at line 105 of file Metric-IData.cpp.

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

◆ writeXML()

std::ostream& Prof::CCT::ANode::writeXML ( std::ostream &  os,
const Metric::Mgr metricMgr,
uint  metricBeg = Metric::IData::npos,
uint  metricEnd = Metric::IData::npos,
uint  oFlags = 0,
const char *  pfx = "" 
) const
inherited
Here is the caller graph for this function:

◆ writeXML_path()

std::ostream & Prof::CCT::ANode::writeXML_path ( std::ostream &  os,
const Metric::Mgr metricMgr,
uint  metricBeg = Metric::IData::npos,
uint  metricEnd = Metric::IData::npos,
uint  oFlags = 0,
const char *  pfx = "" 
) const
inherited

Definition at line 1426 of file CCT-Tree.cpp.

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

◆ writeXML_post()

void Prof::CCT::ANode::writeXML_post ( std::ostream &  os,
uint  oFlags = 0,
const char *  pfx = "" 
) const
protectedinherited
Here is the caller graph for this function:

◆ writeXML_pre()

bool Prof::CCT::ANode::writeXML_pre ( std::ostream &  os,
const Metric::Mgr metricMgr,
uint  metricBeg = Metric::IData::npos,
uint  metricEnd = Metric::IData::npos,
uint  oFlags = 0,
const char *  pfx = "" 
) const
protectedinherited
Here is the caller graph for this function:

◆ zeroLinks()

void NonUniformDegreeTreeNode::zeroLinks ( )
inlineprotectedinherited

Definition at line 207 of file NonUniformDegreeTree.hpp.

Here is the caller graph for this function:

◆ zeroMetrics()

void Prof::Metric::IData::zeroMetrics ( uint  mBegId,
uint  mEndId 
)
inlineinherited

Definition at line 201 of file Metric-IData.hpp.

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

◆ zeroMetricsDeep()

void Prof::CCT::ANode::zeroMetricsDeep ( uint  mBegId,
uint  mEndId 
)
inherited

Definition at line 444 of file CCT-Tree.cpp.

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

Member Data Documentation

◆ m_child_count

uint NonUniformDegreeTreeNode::m_child_count
protectedinherited

Definition at line 225 of file NonUniformDegreeTree.hpp.

◆ m_children

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::m_children
protectedinherited

Definition at line 222 of file NonUniformDegreeTree.hpp.

◆ m_hpcrun_type

uint16_t Prof::CCT::ANode::m_hpcrun_type
protectedinherited

Definition at line 695 of file CCT-Tree.hpp.

◆ m_id

uint Prof::CCT::ANode::m_id
protectedinherited

Definition at line 696 of file CCT-Tree.hpp.

◆ m_next_sibling

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::m_next_sibling
protectedinherited

Definition at line 223 of file NonUniformDegreeTree.hpp.

◆ m_parent

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::m_parent
protectedinherited

Definition at line 221 of file NonUniformDegreeTree.hpp.

◆ m_prev_sibling

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::m_prev_sibling
protectedinherited

Definition at line 224 of file NonUniformDegreeTree.hpp.

◆ m_strct

Struct::ACodeNode* Prof::CCT::ANode::m_strct
protectedinherited

Definition at line 698 of file CCT-Tree.hpp.

◆ m_type

ANodeTy Prof::CCT::ANode::m_type
protectedinherited

Definition at line 694 of file CCT-Tree.hpp.

◆ npos

const uint Prof::Metric::IData::npos = UINT_MAX
staticinherited

Definition at line 138 of file Metric-IData.hpp.


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