HPCToolkit
Prof::Struct::ANode Class Reference

#include <Struct-Tree.hpp>

Inheritance diagram for Prof::Struct::ANode:
Collaboration diagram for Prof::Struct::ANode:

Public Types

enum  ANodeTy {
  TyRoot = 0, TyGroup, TyLM, TyFile,
  TyProc, TyAlien, TyLoop, TyStmt,
  TyRef, TyVariable, TyANY, TyNUMBER
}
 
typedef std::vector< hpcrun_metricVal_tMetricVec
 

Public Member Functions

 ANode (ANodeTy ty, ANode *parent=NULL)
 
virtual ~ANode ()
 
virtual ANodeclone ()
 
ANodeTy type () const
 
uint id () const
 
virtual const std::string & name () const
 
virtual std::string nameQual () const
 
void setInvisible ()
 
bool isVisible () const
 
ANodeparent () const
 
ANodefirstChild () const
 
ANodelastChild () const
 
ANodenextSibling () const
 
ANodeprevSibling () const
 
ANodeancestor (ANodeTy type) const
 
ANodeancestor (ANodeTy ty1, ANodeTy ty2) const
 
ANodeancestor (ANodeTy ty1, ANodeTy ty2, ANodeTy ty3) const
 
RootancestorRoot () const
 
GroupancestorGroup () const
 
LMancestorLM () const
 
FileancestorFile () const
 
ProcancestorProc () const
 
AlienancestorAlien () const
 
LoopancestorLoop () const
 
StmtancestorStmt () const
 
ACodeNodeancestorProcCtxt () const
 
ACodeNodeACodeNodeParent () const
 
void aggregateMetrics (uint mBegId, uint mEndId)
 
void aggregateMetrics (uint mBegId)
 
void pruneByMetrics ()
 
std::string toStringXML (uint oFlags=0, const char *pre="") const
 
virtual std::string toXML (uint oFlags=0) const
 
virtual std::ostream & writeXML (std::ostream &os=std::cout, uint oFlags=0, const char *pre="") const
 
void ddumpXML () const
 
void CSV_DumpSelf (const Root &root, std::ostream &os=std::cout) const
 
virtual void CSV_dump (const Root &root, std::ostream &os=std::cout, const char *file_name=NULL, const char *proc_name=NULL, int lLevel=0) const
 
virtual std::string toString (uint oFlags=0, const char *pre="") const
 
std::string toString_id (uint oFlags=0) const
 
std::string toStringMe (uint oFlags=0, const char *pre="") const
 
std::ostream & dump (std::ostream &os=std::cerr, uint oFlags=0, const char *pre="") const
 
void ddump () const
 
virtual std::ostream & dumpme (std::ostream &os=std::cerr, uint oFlags=0, const char *pre="") 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 const std::string & ANodeTyToName (ANodeTy tp)
 
static const std::string & ANodeTyToXMLelement (ANodeTy tp)
 
static ANodeTy IntToANodeTy (long i)
 
static uint maxId ()
 
static ANodeleastCommonAncestor (ANode *n1, ANode *n2)
 
static int distance (ANode *ancestor, ANode *descendent)
 
static bool arePathsOverlapping (ANode *lca, ANode *desc1, ANode *desc2)
 
static bool mergePaths (ANode *lca, ANode *node_dst, ANode *node_src)
 
static bool merge (ANode *node_dst, ANode *node_src)
 
static bool isMergable (ANode *node_dst, ANode *node_src)
 

Public Attributes

uint m_origId
 

Static Public Attributes

static const uint Id_NULL = 0
 
static const uint npos = UINT_MAX
 

Protected Member Functions

 ANode (const ANode &x)
 
ANodeoperator= (const ANode &x)
 
bool writeXML_pre (std::ostream &os=std::cout, uint oFlags=0, const char *prefix="") const
 
void writeXML_post (std::ostream &os=std::cout, uint oFlags=0, const char *prefix="") const
 
void zeroLinks ()
 

Protected Attributes

ANodeTy m_type
 
uint m_id
 
bool m_visible
 
NonUniformDegreeTreeNodem_parent
 
NonUniformDegreeTreeNodem_children
 
NonUniformDegreeTreeNodem_next_sibling
 
NonUniformDegreeTreeNodem_prev_sibling
 
uint m_child_count
 

Private Member Functions

void ctorCheck () const
 
void dtorCheck () const
 

Static Private Attributes

static const std::string ScopeNames [TyNUMBER]
 
static uint s_nextUniqueId = 1
 

Detailed Description

Definition at line 252 of file Struct-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.

Member Enumeration Documentation

◆ ANodeTy

Enumerator
TyRoot 
TyGroup 
TyLM 
TyFile 
TyProc 
TyAlien 
TyLoop 
TyStmt 
TyRef 
TyVariable 
TyANY 
TyNUMBER 

Definition at line 255 of file Struct-Tree.hpp.

Constructor & Destructor Documentation

◆ ANode() [1/2]

Prof::Struct::ANode::ANode ( ANodeTy  ty,
ANode parent = NULL 
)
inline

Definition at line 286 of file Struct-Tree.hpp.

◆ ~ANode()

virtual Prof::Struct::ANode::~ANode ( )
inlinevirtual

Definition at line 296 of file Struct-Tree.hpp.

◆ ANode() [2/2]

Prof::Struct::ANode::ANode ( const ANode x)
inlineprotected

Definition at line 309 of file Struct-Tree.hpp.

Member Function Documentation

◆ ACodeNodeParent()

ACodeNode * Prof::Struct::ANode::ACodeNodeParent ( ) const

Definition at line 536 of file Struct-Tree.cpp.

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

◆ aggregateMetrics() [1/2]

void Prof::Struct::ANode::aggregateMetrics ( uint  mBegId,
uint  mEndId 
)

Definition at line 694 of file Struct-Tree.cpp.

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

◆ aggregateMetrics() [2/2]

void Prof::Struct::ANode::aggregateMetrics ( uint  mBegId)
inline

Definition at line 458 of file Struct-Tree.hpp.

Here is the call graph for this function:

◆ ancestor() [1/3]

ANode * Prof::Struct::ANode::ancestor ( ANodeTy  type) const

Definition at line 543 of file Struct-Tree.cpp.

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

◆ ancestor() [2/3]

ANode * Prof::Struct::ANode::ancestor ( ANodeTy  ty1,
ANodeTy  ty2 
) const

Definition at line 554 of file Struct-Tree.cpp.

Here is the call graph for this function:

◆ ancestor() [3/3]

ANode * Prof::Struct::ANode::ancestor ( ANodeTy  ty1,
ANodeTy  ty2,
ANodeTy  ty3 
) const

Definition at line 565 of file Struct-Tree.cpp.

Here is the call graph for this function:

◆ ancestorAlien()

Alien * Prof::Struct::ANode::ancestorAlien ( ) const

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

Here is the call graph for this function:

◆ ancestorCount()

uint NonUniformDegreeTreeNode::ancestorCount ( ) const
inherited

Definition at line 183 of file NonUniformDegreeTree.cpp.

Here is the caller graph for this function:

◆ ancestorFile()

File * Prof::Struct::ANode::ancestorFile ( ) const

Definition at line 648 of file Struct-Tree.cpp.

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

◆ ancestorGroup()

Group * Prof::Struct::ANode::ancestorGroup ( ) const

Definition at line 634 of file Struct-Tree.cpp.

Here is the call graph for this function:

◆ ancestorLM()

LM * Prof::Struct::ANode::ancestorLM ( ) const

Definition at line 641 of file Struct-Tree.cpp.

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

◆ ancestorLoop()

Loop * Prof::Struct::ANode::ancestorLoop ( ) const

Definition at line 669 of file Struct-Tree.cpp.

Here is the call graph for this function:

◆ ancestorProc()

Proc * Prof::Struct::ANode::ancestorProc ( ) const

Definition at line 655 of file Struct-Tree.cpp.

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

◆ ancestorProcCtxt()

ACodeNode * Prof::Struct::ANode::ancestorProcCtxt ( ) const

Definition at line 683 of file Struct-Tree.cpp.

Here is the call graph for this function:

◆ ancestorRoot()

Root * Prof::Struct::ANode::ancestorRoot ( ) const

Definition at line 616 of file Struct-Tree.cpp.

Here is the call graph for this function:

◆ ancestorStmt()

Stmt * Prof::Struct::ANode::ancestorStmt ( ) const

Definition at line 676 of file Struct-Tree.cpp.

Here is the call graph for this function:

◆ ANodeTyToName()

const string & Prof::Struct::ANode::ANodeTyToName ( ANodeTy  tp)
static

Definition at line 208 of file Struct-Tree.cpp.

Here is the caller graph for this function:

◆ ANodeTyToXMLelement()

const string & Prof::Struct::ANode::ANodeTyToXMLelement ( ANodeTy  tp)
static

Definition at line 1404 of file Struct-Tree.cpp.

Here is the caller graph for this function:

◆ arePathsOverlapping()

bool Prof::Struct::ANode::arePathsOverlapping ( ANode lca,
ANode desc1,
ANode desc2 
)
static

Definition at line 754 of file Struct-Tree.cpp.

Here is the call 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()

virtual ANode* Prof::Struct::ANode::clone ( )
inlinevirtual

◆ CSV_dump()

void Prof::Struct::ANode::CSV_dump ( const Root root,
std::ostream &  os = std::cout,
const char *  file_name = NULL,
const char *  proc_name = NULL,
int  lLevel = 0 
) const
virtual

Reimplemented in Prof::Struct::Alien, Prof::Struct::Proc, Prof::Struct::File, and Prof::Struct::ACodeNode.

Definition at line 1712 of file Struct-Tree.cpp.

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

◆ CSV_DumpSelf()

void Prof::Struct::ANode::CSV_DumpSelf ( const Root root,
std::ostream &  os = std::cout 
) const

Definition at line 1687 of file Struct-Tree.cpp.

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

◆ ctorCheck()

void Prof::Struct::ANode::ctorCheck ( ) const
private

◆ ddump()

void Prof::Struct::ANode::ddump ( ) const

Definition at line 1857 of file Struct-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:

◆ ddumpXML()

void Prof::Struct::ANode::ddumpXML ( ) const

Definition at line 1631 of file Struct-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:

◆ distance()

int Prof::Struct::ANode::distance ( ANode ancestor,
ANode descendent 
)
static

Definition at line 738 of file Struct-Tree.cpp.

Here is the caller graph for this function:

◆ dtorCheck()

void Prof::Struct::ANode::dtorCheck ( ) const
private

◆ dump()

std::ostream& Prof::Struct::ANode::dump ( std::ostream &  os = std::cerr,
uint  oFlags = 0,
const char *  pre = "" 
) const
Here is the caller graph for this function:

◆ dumpme()

ostream & Prof::Struct::ANode::dumpme ( std::ostream &  os = std::cerr,
uint  oFlags = 0,
const char *  pre = "" 
) const
virtual

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

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

◆ 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::Struct::ANode::firstChild ( ) const
inline

Definition at line 375 of file Struct-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:

◆ id()

uint Prof::Struct::ANode::id ( ) const
inline

Definition at line 339 of file Struct-Tree.hpp.

Here is the caller graph for this function:

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

◆ IntToANodeTy()

ANode::ANodeTy Prof::Struct::ANode::IntToANodeTy ( long  i)
static

Definition at line 215 of file Struct-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()

bool Prof::Struct::ANode::isMergable ( ANode node_dst,
ANode node_src 
)
static

Definition at line 855 of file Struct-Tree.cpp.

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

◆ isVisible()

bool Prof::Struct::ANode::isVisible ( ) const
inline

Definition at line 364 of file Struct-Tree.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::Struct::ANode::lastChild ( ) const
inline

Definition at line 379 of file Struct-Tree.hpp.

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

◆ leastCommonAncestor()

ANode * Prof::Struct::ANode::leastCommonAncestor ( ANode n1,
ANode n2 
)
static

Definition at line 591 of file Struct-Tree.cpp.

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:

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

◆ maxId()

static uint Prof::Struct::ANode::maxId ( )
inlinestatic

Definition at line 346 of file Struct-Tree.hpp.

◆ merge()

bool Prof::Struct::ANode::merge ( ANode node_dst,
ANode node_src 
)
static

Definition at line 818 of file Struct-Tree.cpp.

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

◆ mergePaths()

bool Prof::Struct::ANode::mergePaths ( ANode lca,
ANode node_dst,
ANode node_src 
)
static

Definition at line 780 of file Struct-Tree.cpp.

Here is the call 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::Struct::ANode::name ( void  ) const
inlinevirtual

Reimplemented in Prof::Struct::Ref, Prof::Struct::Alien, Prof::Struct::Proc, Prof::Struct::File, Prof::Struct::LM, Prof::Struct::Group, and Prof::Struct::Root.

Definition at line 352 of file Struct-Tree.hpp.

Here is the caller graph for this function:

◆ nameQual()

virtual std::string Prof::Struct::ANode::nameQual ( ) const
inlinevirtual

Reimplemented in Prof::Struct::ACodeNode.

Definition at line 356 of file Struct-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::Struct::ANode::nextSibling ( ) const
inline

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

Here is the call graph for this function:
Here is the caller 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:

◆ operator=()

ANode& Prof::Struct::ANode::operator= ( const ANode x)
inlineprotected

Definition at line 314 of file Struct-Tree.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::Struct::ANode::parent ( ) const
inline

Definition at line 371 of file Struct-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::Struct::ANode::prevSibling ( ) const
inline

Definition at line 393 of file Struct-Tree.hpp.

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

◆ pruneByMetrics()

void Prof::Struct::ANode::pruneByMetrics ( )

Definition at line 716 of file Struct-Tree.cpp.

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

◆ setInvisible()

void Prof::Struct::ANode::setInvisible ( )
inline

Definition at line 360 of file Struct-Tree.hpp.

◆ toString()

string Prof::Struct::ANode::toString ( uint  oFlags = 0,
const char *  pre = "" 
) const
virtual

Reimplemented from NonUniformDegreeTreeNode.

Definition at line 1805 of file Struct-Tree.cpp.

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

◆ toString_id()

string Prof::Struct::ANode::toString_id ( uint  oFlags = 0) const

Definition at line 1814 of file Struct-Tree.cpp.

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

◆ toStringMe()

string Prof::Struct::ANode::toStringMe ( uint  oFlags = 0,
const char *  pre = "" 
) const

Definition at line 1823 of file Struct-Tree.cpp.

Here is the call graph for this function:
Here is the caller 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:

◆ toStringXML()

string Prof::Struct::ANode::toStringXML ( uint  oFlags = 0,
const char *  pre = "" 
) const

Definition at line 1411 of file Struct-Tree.cpp.

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

◆ toXML()

string Prof::Struct::ANode::toXML ( uint  oFlags = 0) const
virtual

Reimplemented in Prof::Struct::Ref, Prof::Struct::Stmt, Prof::Struct::Loop, Prof::Struct::Alien, Prof::Struct::Proc, Prof::Struct::File, Prof::Struct::LM, Prof::Struct::Group, Prof::Struct::Root, and Prof::Struct::ACodeNode.

Definition at line 1420 of file Struct-Tree.cpp.

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

◆ type()

ANodeTy Prof::Struct::ANode::type ( ) const
inline

Definition at line 334 of file Struct-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()

virtual std::ostream& Prof::Struct::ANode::writeXML ( std::ostream &  os = std::cout,
uint  oFlags = 0,
const char *  pre = "" 
) const
virtual

Reimplemented in Prof::Struct::LM, and Prof::Struct::Root.

Here is the caller graph for this function:

◆ writeXML_post()

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

◆ writeXML_pre()

bool Prof::Struct::ANode::writeXML_pre ( std::ostream &  os = std::cout,
uint  oFlags = 0,
const char *  prefix = "" 
) const
protected
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:

Member Data Documentation

◆ Id_NULL

const uint Prof::Struct::ANode::Id_NULL = 0
static

Definition at line 342 of file Struct-Tree.hpp.

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

uint Prof::Struct::ANode::m_id
protected

Definition at line 600 of file Struct-Tree.hpp.

◆ m_next_sibling

NonUniformDegreeTreeNode* NonUniformDegreeTreeNode::m_next_sibling
protectedinherited

Definition at line 223 of file NonUniformDegreeTree.hpp.

◆ m_origId

uint Prof::Struct::ANode::m_origId

Definition at line 605 of file Struct-Tree.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_type

ANodeTy Prof::Struct::ANode::m_type
protected

Definition at line 599 of file Struct-Tree.hpp.

◆ m_visible

bool Prof::Struct::ANode::m_visible
protected

Definition at line 601 of file Struct-Tree.hpp.

◆ npos

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

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

◆ s_nextUniqueId

uint Prof::Struct::ANode::s_nextUniqueId = 1
staticprivate

Definition at line 596 of file Struct-Tree.hpp.

◆ ScopeNames

const string Prof::Struct::ANode::ScopeNames
staticprivate
Initial value:
= {
"Pgm", "Group", "LM", "File", "Proc", "Alien", "Loop", "Stmt", "Ref", "ANY"
}

Definition at line 280 of file Struct-Tree.hpp.


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