HPCToolkit
Analysis::Util Namespace Reference

Classes

class  NormalizeProfileArgs_t
 

Typedefs

typedef std::vector< std::string > StringVec
 
typedef std::vector< uintUIntVec
 

Enumerations

enum  ProfType_t {
  ProfType_NULL, ProfType_Callpath, ProfType_CallpathMetricDB, ProfType_CallpathTrace,
  ProfType_Flat
}
 

Functions

Analysis::Util::ProfType_t getProfileType (const std::string &filenm)
 
NormalizeProfileArgs_t normalizeProfileArgs (const StringVec &inPaths)
 
int parseReplacePath (const std::string &arg)
 
Prof::Struct::ACodeNodedemandStructure (VMA vma, Prof::Struct::LM *lmStrct, BinUtil::LM *lm, bool useStruct, const string *unknownProcNm)
 
void copySourceFiles (Prof::Struct::Root *structure, const Analysis::PathTupleVec &pathVec, const string &dstDir)
 
void copyTraceFiles (const std::string &dstDir, const std::set< string > &srcFiles)
 
void copySourceFiles (Prof::Struct::Root *structure, const Analysis::PathTupleVec &pathVec, const std::string &dstDir)
 
void copyTraceFiles (const std::string &dstDir, const std::set< std::string > &srcFiles)
 

Typedef Documentation

◆ StringVec

typedef std::vector<std::string> Analysis::Util::StringVec

Definition at line 108 of file Util.hpp.

◆ UIntVec

typedef std::vector<uint> Analysis::Util::UIntVec

Definition at line 109 of file Util.hpp.

Enumeration Type Documentation

◆ ProfType_t

Enumerator
ProfType_NULL 
ProfType_Callpath 
ProfType_CallpathMetricDB 
ProfType_CallpathTrace 
ProfType_Flat 

Definition at line 92 of file Util.hpp.

Function Documentation

◆ copySourceFiles() [1/2]

void Analysis::Util::copySourceFiles ( Prof::Struct::Root structure,
const Analysis::PathTupleVec pathVec,
const std::string &  dstDir 
)

◆ copySourceFiles() [2/2]

void Analysis::Util::copySourceFiles ( Prof::Struct::Root structure,
const Analysis::PathTupleVec pathVec,
const string &  dstDir 
)

Definition at line 377 of file Util.cpp.

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

◆ copyTraceFiles() [1/2]

void Analysis::Util::copyTraceFiles ( const std::string &  dstDir,
const std::set< std::string > &  srcFiles 
)

◆ copyTraceFiles() [2/2]

void Analysis::Util::copyTraceFiles ( const std::string &  dstDir,
const std::set< string > &  srcFiles 
)

Definition at line 586 of file Util.cpp.

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

◆ demandStructure()

Prof::Struct::ACodeNode * Analysis::Util::demandStructure ( VMA  vma,
Prof::Struct::LM lmStrct,
BinUtil::LM lm,
bool  useStruct,
const string *  unknownProcNm 
)

Definition at line 317 of file Util.cpp.

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

◆ getProfileType()

ProfType_t Analysis::Util::getProfileType ( const std::string &  filenm)

Definition at line 141 of file Util.cpp.

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

◆ normalizeProfileArgs()

NormalizeProfileArgs_t Analysis::Util::normalizeProfileArgs ( const StringVec inPaths)

Definition at line 179 of file Util.cpp.

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

◆ parseReplacePath()

int Analysis::Util::parseReplacePath ( const std::string &  arg)

Definition at line 242 of file Util.cpp.

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