HPCToolkit
Prof::CCT::Loop Class Reference

#include <CCT-Tree.hpp>

Inheritance diagram for Prof::CCT::Loop:
Collaboration diagram for Prof::CCT::Loop:

Public Types

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

Public Member Functions

 Loop (ANode *parent, Struct::ACodeNode *strct=NULL)
 
virtual uint fileId () const
 
virtual ~Loop ()
 
virtual std::string toStringMe (uint oFlags=0) const
 
ANodeTy type () const
 
uint id () const
 
void id (uint id)
 
virtual const std::string & name () const
 
Struct::ACodeNode * structure () 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
 
ANode * parent () const
 
ANode * firstChild () const
 
ANode * lastChild () const
 
ANode * nextSibling () const
 
ANode * prevSibling () const
 
ANode * ancestor (ANodeTy tp) const
 
Root * ancestorRoot () const
 
ProcFrm * ancestorProcFrm () const
 
Proc * ancestorProc () const
 
Loop * ancestorLoop () const
 
Call * ancestorCall () const
 
Stmt * ancestorStmt () 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)
 
virtual MergeEffect mergeMe (const ANode &y, MergeContext *mrgCtxt=NULL, uint metricBegIdx=0, bool mayConflict=true)
 
CCT::ADynNode * findDynChild (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)
 
NonUniformDegreeTreeNode * Parent () const
 
NonUniformDegreeTreeNode * NextSibling () const
 
NonUniformDegreeTreeNode * PrevSibling () const
 
NonUniformDegreeTreeNode * FirstChild () const
 
NonUniformDegreeTreeNode * LastChild () 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_t & metricObject (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 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
 
MergeEffectList * mergeDeep_fixInsert (int newMetrics, MergeContext &mrgCtxt)
 
void zeroLinks ()
 

Protected Attributes

ANodeTy m_type
 
uint16_t m_hpcrun_type
 
uint m_id
 
Struct::ACodeNode * m_strct
 
NonUniformDegreeTreeNode * m_parent
 
NonUniformDegreeTreeNode * m_children
 
NonUniformDegreeTreeNode * m_next_sibling
 
NonUniformDegreeTreeNode * m_prev_sibling
 
uint m_child_count
 

Detailed Description

Definition at line 1241 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

◆ Loop()

Prof::CCT::Loop::Loop ( ANode *  parent,
Struct::ACodeNode *  strct = NULL 
)
inline

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

◆ ~Loop()

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

Definition at line 1260 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:

◆ 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.

◆ 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:

◆ 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:

◆ 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:

◆ fileId()

virtual uint Prof::CCT::Loop::fileId ( ) const
inlinevirtual

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

◆ 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:

◆ 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:

◆ 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:

◆ 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::ANode::mergeMe ( const ANode &  y,
MergeContext *  mrgCtxt = NULL,
uint  metricBegIdx = 0,
bool  mayConflict = true 
)
virtualinherited

Reimplemented in Prof::CCT::ADynNode.

Definition at line 929 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:

◆ 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:

◆ 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::Loop::toStringMe ( uint  oFlags = 0) const
virtual

Reimplemented from Prof::CCT::ANode.

Definition at line 1325 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:

◆ 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: