HPCToolkit
Prof::Struct::Tree Class Reference

#include <Struct-Tree.hpp>

Inheritance diagram for Prof::Struct::Tree:
Collaboration diagram for Prof::Struct::Tree:

Public Types

enum  { OFlg_Compressed = (1 << 1), OFlg_LeafMetricsOnly = (1 << 2), OFlg_Debug = (1 << 3) }
 

Public Member Functions

 Tree (const char *name, Root *root=NULL)
 
 Tree (const std::string &name, Root *root=NULL)
 
virtual ~Tree ()
 
Rootroot () const
 
void root (Root *x)
 
bool empty () const
 
std::string name () const
 
std::ostream & writeXML (std::ostream &os=std::cerr, uint oFlags=0) const
 
std::ostream & dump (std::ostream &os=std::cerr, uint oFlags=0) const
 
void ddump () const
 

Static Public Attributes

static const std::string UnknownLMNm = "<unknown load module>"
 
static const std::string UnknownFileNm = "<unknown file>"
 
static const std::string UnknownProcNm = "<unknown procedure>"
 
static const std::string UnknownGlobalVariable = "<unknown variable>"
 
static const SrcFile::ln UnknownLine = SrcFile::ln_NULL
 
static const std::string PartialUnwindProcNm = "<partial call paths>"
 

Private Attributes

Rootm_root
 

Detailed Description

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
OFlg_Compressed 
OFlg_LeafMetricsOnly 
OFlg_Debug 

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

Constructor & Destructor Documentation

◆ Tree() [1/2]

Prof::Struct::Tree::Tree ( const char *  name,
Root root = NULL 
)

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

◆ Tree() [2/2]

Prof::Struct::Tree::Tree ( const std::string &  name,
Root root = NULL 
)
inline

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

◆ ~Tree()

Prof::Struct::Tree::~Tree ( )
virtual

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

Member Function Documentation

◆ ddump()

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

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

Here is the call graph for this function:

◆ dump()

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

◆ empty()

bool Prof::Struct::Tree::empty ( ) const
inline

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

Here is the call graph for this function:

◆ name()

string Prof::Struct::Tree::name ( void  ) const

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

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

◆ root() [1/2]

Root* Prof::Struct::Tree::root ( ) const
inline

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

Here is the caller graph for this function:

◆ root() [2/2]

void Prof::Struct::Tree::root ( Root x)
inline

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

◆ writeXML()

std::ostream& Prof::Struct::Tree::writeXML ( std::ostream &  os = std::cerr,
uint  oFlags = 0 
) const
Here is the caller graph for this function:

Member Data Documentation

◆ m_root

Root* Prof::Struct::Tree::m_root
private

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

◆ PartialUnwindProcNm

const std::string Prof::Struct::Tree::PartialUnwindProcNm = "<partial call paths>"
static

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

◆ UnknownFileNm

const std::string Prof::Struct::Tree::UnknownFileNm = "<unknown file>"
static

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

◆ UnknownGlobalVariable

const std::string Prof::Struct::Tree::UnknownGlobalVariable = "<unknown variable>"
static

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

◆ UnknownLine

const SrcFile::ln Prof::Struct::Tree::UnknownLine = SrcFile::ln_NULL
static

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

◆ UnknownLMNm

const std::string Prof::Struct::Tree::UnknownLMNm = "<unknown load module>"
static

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

◆ UnknownProcNm

const std::string Prof::Struct::Tree::UnknownProcNm = "<unknown procedure>"
static

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


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