HPCToolkit
ConfigParser.cpp File Reference
#include <iostream>
#include <string>
#include <cstdlib>
#include <xercesc/util/XMLString.hpp>
#include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/dom/DOMNamedNodeMap.hpp>
#include <include/gcc-attr.h>
#include "ConfigParser.hpp"
#include <lib/prof/Metric-ADesc.hpp>
#include <lib/profxml/MathMLExprParser.hpp>
#include <lib/profxml/XercesUtil.hpp>
#include <lib/support/Trace.hpp>
Include dependency graph for ConfigParser.cpp:

Go to the source code of this file.

Macros

#define DBG   0
 

Functions

static void ProcessDOCUMENT (DOMNode *node, Analysis::Args &args, Prof::Metric::Mgr &mMgr)
 
static void ProcessHPCPROF (DOMNode *node, Analysis::Args &args, Prof::Metric::Mgr &mMgr)
 
static void ProcessELEMENT (DOMNode *node, Analysis::Args &args, Prof::Metric::Mgr &mMgr)
 
static void ProcessMETRIC (DOMNode *node, Analysis::Args &args, Prof::Metric::Mgr &mMgr)
 
static void ProcessFILE (DOMNode *fileNode, Analysis::Args &args, Prof::Metric::Mgr &mMgr, const string &metricNm, bool metricDoDisp, bool metricDoPercent, bool metricDoSortBy, const string &metricDispNm)
 
static Prof::Metric::AExprmakeMathMLExpr (const char *nm, DOMNode *mathMLExpr, Prof::Metric::Mgr &mMgr)
 
static string getAttr (DOMNode *node, const XMLCh *attrName)
 
static void canonicalizePaths (string &inPath, string &outPath)
 
static void GCC_ATTR_UNUSED printName (DOMNode *node)
 
static void ProcessFILE (DOMNode *fileNode, Analysis::Args &GCC_ATTR_UNUSED args, Prof::Metric::Mgr &mMgr, const string &metricNm, bool metricDoDisp, bool metricDoPercent, bool metricDoSortBy, const string &GCC_ATTR_UNUSED metricDispNm)
 

Macro Definition Documentation

◆ DBG

#define DBG   0

Definition at line 91 of file ConfigParser.cpp.

Function Documentation

◆ canonicalizePaths()

static void canonicalizePaths ( string &  inPath,
string &  outPath 
)
static

Definition at line 468 of file ConfigParser.cpp.

Here is the caller graph for this function:

◆ getAttr()

static string getAttr ( DOMNode *  node,
const XMLCh *  attrName 
)
static

Definition at line 452 of file ConfigParser.cpp.

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

◆ makeMathMLExpr()

static Prof::Metric::AExpr * makeMathMLExpr ( const char *  nm,
DOMNode *  mathMLExpr,
Prof::Metric::Mgr mMgr 
)
static

Definition at line 388 of file ConfigParser.cpp.

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

◆ printName()

static void GCC_ATTR_UNUSED printName ( DOMNode *  node)
static

Definition at line 157 of file ConfigParser.cpp.

◆ ProcessDOCUMENT()

static void ProcessDOCUMENT ( DOMNode *  node,
Analysis::Args args,
Prof::Metric::Mgr mMgr 
)
static

Definition at line 167 of file ConfigParser.cpp.

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

◆ ProcessELEMENT()

static void ProcessELEMENT ( DOMNode *  node,
Analysis::Args args,
Prof::Metric::Mgr mMgr 
)
static

Definition at line 201 of file ConfigParser.cpp.

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

◆ ProcessFILE() [1/2]

static void ProcessFILE ( DOMNode *  fileNode,
Analysis::Args args,
Prof::Metric::Mgr mMgr,
const string &  metricNm,
bool  metricDoDisp,
bool  metricDoPercent,
bool  metricDoSortBy,
const string &  metricDispNm 
)
static
Here is the caller graph for this function:

◆ ProcessFILE() [2/2]

static void ProcessFILE ( DOMNode *  fileNode,
Analysis::Args &GCC_ATTR_UNUSED  args,
Prof::Metric::Mgr mMgr,
const string &  metricNm,
bool  metricDoDisp,
bool  metricDoPercent,
bool  metricDoSortBy,
const string &GCC_ATTR_UNUSED  metricDispNm 
)
static

Definition at line 413 of file ConfigParser.cpp.

Here is the call graph for this function:

◆ ProcessHPCPROF()

static void ProcessHPCPROF ( DOMNode *  node,
Analysis::Args args,
Prof::Metric::Mgr mMgr 
)
static

Definition at line 175 of file ConfigParser.cpp.

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

◆ ProcessMETRIC()

static void ProcessMETRIC ( DOMNode *  node,
Analysis::Args args,
Prof::Metric::Mgr mMgr 
)
static

Definition at line 301 of file ConfigParser.cpp.

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