HPCToolkit
Args Class Reference

#include <Args.hpp>

Inheritance diagram for Args:
Collaboration diagram for Args:

Classes

class  Exception
 

Public Types

enum  EventList_t { LIST_NONE = 0, LIST_SHORT, LIST_LONG }
 
enum  MetricFlg { MetricFlg_NULL = 0, MetricFlg_Thread = (1 << 1), MetricFlg_StatsSum = (1 << 2), MetricFlg_StatsAll = (1 << 3) }
 
enum  TxtSum {
  TxtSum_NULL = 0, TxtSum_fPgm = 0x00000001, TxtSum_fLM = 0x00000010, TxtSum_fFile = 0x00000100,
  TxtSum_fProc = 0x00001000, TxtSum_fLoop = 0x00010000, TxtSum_fStmt = 0x00100000, TxtSum_ALL
}
 
enum  MetricFlg { MetricFlg_NULL = 0, MetricFlg_Thread = (1 << 1), MetricFlg_StatsSum = (1 << 2), MetricFlg_StatsAll = (1 << 3) }
 
enum  TxtSum {
  TxtSum_NULL = 0, TxtSum_fPgm = 0x00000001, TxtSum_fLM = 0x00000010, TxtSum_fFile = 0x00000100,
  TxtSum_fProc = 0x00001000, TxtSum_fLoop = 0x00010000, TxtSum_fStmt = 0x00100000, TxtSum_ALL
}
 

Public Member Functions

 Args ()
 
 Args (int argc, const char *const argv[])
 
 ~Args ()
 
void parse (int argc, const char *const argv[])
 
void printVersion (std::ostream &os) const
 
void printUsage (std::ostream &os) const
 
void printError (std::ostream &os, const char *msg) const
 
void printError (std::ostream &os, const std::string &msg) const
 
void dump (std::ostream &os=std::cerr) const
 
void ddump () const
 
const std::string & getCmd () const
 
 Args ()
 
virtual ~Args ()
 
virtual void parse (int argc, const char *const argv[])
 
virtual const std::string getCmd () const
 
 Args ()
 
 Args (int argc, const char *const argv[])
 
virtual ~Args ()
 
void parse (int argc, const char *const argv[])
 
void printVersion (std::ostream &os) const
 
void printUsage (std::ostream &os) const
 
void printError (std::ostream &os, const char *msg) const
 
void printError (std::ostream &os, const std::string &msg) const
 
virtual void dump (std::ostream &os=std::cerr) const
 
const std::string & getCmd () const
 
 Args ()
 
virtual ~Args ()
 
virtual const std::string getCmd () const
 
 Args ()
 
 Args (int argc, const char *const argv[])
 
virtual ~Args ()
 
void parse (int argc, const char *const argv[])
 
void printVersion (std::ostream &os) const
 
void printUsage (std::ostream &os) const
 
virtual void dump (std::ostream &os=std::cerr) const
 
 Args ()
 
 Args (int argc, const char *const argv[])
 
 ~Args ()
 
void parse (int argc, const char *const argv[])
 
void printVersion (std::ostream &os) const
 
void printUsage (std::ostream &os) const
 
void printError (std::ostream &os, const char *msg) const
 
void printError (std::ostream &os, const std::string &msg) const
 
void dump (std::ostream &os=std::cerr) const
 
void ddump () const
 
const std::string & getCmd () const
 
 Args ()
 
 Args (int argc, const char *const argv[])
 
 ~Args ()
 
void parse (int argc, const char *const argv[])
 
void printVersion (std::ostream &os) const
 
void printUsage (std::ostream &os) const
 
void printError (std::ostream &os, const char *msg) const
 
void printError (std::ostream &os, const std::string &msg) const
 
void dump (std::ostream &os=std::cerr) const
 
void ddump () const
 
const std::string & getCmd () const
 
 Args ()
 
 Args (int argc, const char *const argv[])
 
 ~Args ()
 
void parse (int argc, const char *const argv[])
 
void printVersion (std::ostream &os) const
 
void printUsage (std::ostream &os) const
 
void printError (std::ostream &os, const char *msg) const
 
void printError (std::ostream &os, const std::string &msg) const
 
void dump (std::ostream &os=std::cerr) const
 
void ddump () const
 
const std::string & getCmd () const
 
 Args ()
 
 Args (int argc, const char *const argv[])
 
 ~Args ()
 
void Parse (int argc, const char *const argv[])
 
void PrintVersion (std::ostream &os) const
 
void PrintUsage (std::ostream &os) const
 
void PrintError (std::ostream &os, const char *msg) const
 
void PrintError (std::ostream &os, const std::string &msg) const
 
void Dump (std::ostream &os=std::cerr) const
 
void DDump () const
 
const std::string & getCmd () const
 
virtual std::string toString () const
 
void normalizeSearchPaths ()
 
void makeDatabaseDir ()
 
std::string searchPathStr () const
 
void normalizeSearchPaths ()
 
void makeDatabaseDir ()
 
std::string searchPathStr () const
 

Static Public Member Functions

static void printError (std::ostream &os, const char *msg)
 
static void printError (std::ostream &os, const std::string &msg)
 
static const std::string & getCmd ()
 
static void parseArg_metric (Args *args, const std::string &opts, const char *errTag)
 
static bool MetricFlg_isSet (uint flags, MetricFlg x)
 
static void MetricFlg_set (uint &flags, MetricFlg x)
 
static void MetricFlg_clear (uint &flags, MetricFlg x)
 
static bool MetricFlg_isThread (uint flags)
 
static bool MetricFlg_isSum (uint flags)
 
static bool MetricFlg_isSet (uint flags, MetricFlg x)
 
static void MetricFlg_set (uint &flags, MetricFlg x)
 
static void MetricFlg_clear (uint &flags, MetricFlg x)
 
static bool MetricFlg_isThread (uint flags)
 
static bool MetricFlg_isSum (uint flags)
 

Public Attributes

bool dumpLong
 
bool dumpShort
 
bool dumpDecode
 
bool dumpOld
 
VMA loadVMA
 
int debugLevel
 
std::string inputFile
 
bool hpcprof_isMetricArg
 
bool hpcprof_forceMetrics
 
std::string hpcHome
 
bool configurationFileMode
 
std::string configurationFile
 
std::vector< std::string > obj_procGlobs
 
uint64_t obj_procThreshold
 
bool obj_metricsAsPercents
 
bool obj_showSourceCode
 
EventList_t listEvents
 
bool printPaths
 
std::string profRecursive
 
std::string profThread
 
std::string profEvents
 
std::string profOutput
 
std::string profPAPIFlag
 
std::vector< std::string > profArgV
 
int mainPort
 
int xmlPort
 
bool compression
 
int jobs
 
int jobs_parse
 
int jobs_symtab
 
bool show_time
 
std::string lush_agent
 
std::string searchPathStr
 
std::string demangle_library
 
std::string demangle_function
 
bool isIrreducibleIntervalLoop
 
bool isForwardSubstitution
 
std::string dbgProcGlob
 
std::string out_filenm
 
bool prettyPrintOutput
 
bool useBinutils
 
bool show_gaps
 
std::string in_filenm
 
unsigned int listAvailableMetrics
 
std::string metricList
 
std::string excludeMList
 
bool outputRawMetrics
 
std::string progFile
 
std::string profFile
 
std::string agent
 
std::string title
 
PathTupleVec searchPathTpls
 
std::vector< std::string > structureFiles
 
std::vector< std::string > groupFiles
 
std::vector< std::string > replaceInPath
 
std::vector< std::string > replaceOutPath
 
std::vector< std::string > profileFiles
 
bool doNormalizeTy
 
uint prof_metrics
 
bool profflat_computeFinalMetricValues
 
std::string out_db_experiment
 
std::string out_db_csv
 
std::string db_dir
 
bool db_copySrcFiles
 
std::string out_db_config
 
bool db_makeMetricDB
 
bool db_addStructId
 
std::string out_txt
 
int txt_summary
 
bool txt_srcAnnotation
 
std::vector< std::string > txt_srcFileGlobs
 
bool remove_redundancy
 
std::string agent
 
std::string title
 
PathTupleVec searchPathTpls
 
std::vector< std::string > structureFiles
 
std::vector< std::string > groupFiles
 
std::vector< std::string > replaceInPath
 
std::vector< std::string > replaceOutPath
 
std::vector< std::string > profileFiles
 
bool doNormalizeTy
 
uint prof_metrics
 
bool profflat_computeFinalMetricValues
 
std::string out_db_experiment
 
std::string out_db_csv
 
std::string db_dir
 
bool db_copySrcFiles
 
std::string out_db_config
 
bool db_makeMetricDB
 
bool db_addStructId
 
std::string out_txt
 
int txt_summary
 
bool txt_srcAnnotation
 
std::vector< std::string > txt_srcFileGlobs
 
bool remove_redundancy
 

Protected Member Functions

bool parseArg_norm (const std::string &value, const char *errTag)
 
void parseArg_metric (const std::string &value, const char *errTag)
 

Static Protected Member Functions

static std::string makeDBDirName (const std::string &profileArg)
 

Private Member Functions

void Ctor ()
 
void Ctor ()
 
void setHPCHome ()
 
void Ctor ()
 
void setHPCHome ()
 
void Ctor ()
 
void Ctor ()
 
void Ctor ()
 
void Ctor ()
 

Private Attributes

CmdLineParser parser
 

Static Private Attributes

static CmdLineParser::OptArgDesc optArgs []
 
static const std::string HPCTOOLKIT = "HPCTOOLKIT"
 

Detailed Description

Definition at line 79 of file Args.hpp.

Member Enumeration Documentation

◆ EventList_t

Enumerator
LIST_NONE 
LIST_SHORT 
LIST_LONG 

Definition at line 80 of file Args.hpp.

◆ MetricFlg [1/2]

enum Analysis::Args::MetricFlg
inherited
Enumerator
MetricFlg_NULL 
MetricFlg_Thread 
MetricFlg_StatsSum 
MetricFlg_StatsAll 

Definition at line 146 of file Args.hpp.

◆ MetricFlg [2/2]

enum Analysis::Args::MetricFlg
inherited
Enumerator
MetricFlg_NULL 
MetricFlg_Thread 
MetricFlg_StatsSum 
MetricFlg_StatsAll 

Definition at line 146 of file Args.hpp.

◆ TxtSum [1/2]

enum Analysis::Args::TxtSum
inherited
Enumerator
TxtSum_NULL 
TxtSum_fPgm 
TxtSum_fLM 
TxtSum_fFile 
TxtSum_fProc 
TxtSum_fLoop 
TxtSum_fStmt 
TxtSum_ALL 

Definition at line 215 of file Args.hpp.

◆ TxtSum [2/2]

enum Analysis::Args::TxtSum
inherited
Enumerator
TxtSum_NULL 
TxtSum_fPgm 
TxtSum_fLM 
TxtSum_fFile 
TxtSum_fProc 
TxtSum_fLoop 
TxtSum_fStmt 
TxtSum_ALL 

Definition at line 215 of file Args.hpp.

Constructor & Destructor Documentation

◆ Args() [1/16]

Args::Args ( )

Definition at line 150 of file Args.cpp.

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

◆ Args() [2/16]

Args::Args ( int  argc,
const char *const  argv[] 
)

Definition at line 155 of file Args.cpp.

Here is the call graph for this function:

◆ ~Args() [1/9]

Args::~Args ( )
virtual

Reimplemented from Analysis::Args.

Definition at line 173 of file Args.cpp.

Here is the caller graph for this function:

◆ Args() [3/16]

Args::Args ( )

◆ ~Args() [2/9]

virtual Args::~Args ( )
virtual

Reimplemented from Analysis::Args.

◆ Args() [4/16]

Args::Args ( )

◆ Args() [5/16]

Args::Args ( int  argc,
const char *const  argv[] 
)

◆ ~Args() [3/9]

virtual Args::~Args ( )
virtual

Reimplemented from Analysis::Args.

◆ Args() [6/16]

Args::Args ( )

◆ ~Args() [4/9]

virtual Args::~Args ( )
virtual

Reimplemented from Analysis::Args.

◆ Args() [7/16]

Args::Args ( )

◆ Args() [8/16]

Args::Args ( int  argc,
const char *const  argv[] 
)

◆ ~Args() [5/9]

virtual Args::~Args ( )
virtual

Reimplemented from Analysis::Args.

◆ Args() [9/16]

Args::Args ( )

◆ Args() [10/16]

Args::Args ( int  argc,
const char *const  argv[] 
)

◆ ~Args() [6/9]

Args::~Args ( )
virtual

Reimplemented from Analysis::Args.

◆ Args() [11/16]

Args::Args ( )

◆ Args() [12/16]

Args::Args ( int  argc,
const char *const  argv[] 
)

◆ ~Args() [7/9]

Args::~Args ( )
virtual

Reimplemented from Analysis::Args.

◆ Args() [13/16]

Args::Args ( )

◆ Args() [14/16]

Args::Args ( int  argc,
const char *const  argv[] 
)

◆ ~Args() [8/9]

Args::~Args ( )
virtual

Reimplemented from Analysis::Args.

◆ Args() [15/16]

Args::Args ( )

◆ Args() [16/16]

Args::Args ( int  argc,
const char *const  argv[] 
)

◆ ~Args() [9/9]

Args::~Args ( )
virtual

Reimplemented from Analysis::Args.

Member Function Documentation

◆ Ctor() [1/7]

void Args::Ctor ( )
private

◆ Ctor() [2/7]

void Args::Ctor ( )
private

Definition at line 162 of file Args.cpp.

Here is the caller graph for this function:

◆ Ctor() [3/7]

void Args::Ctor ( )
private

◆ Ctor() [4/7]

void Args::Ctor ( )
private

◆ Ctor() [5/7]

void Args::Ctor ( )
private

◆ Ctor() [6/7]

void Args::Ctor ( )
private

◆ Ctor() [7/7]

void Args::Ctor ( )
private

◆ DDump()

void Args::DDump ( ) const

Definition at line 330 of file Args.cpp.

Here is the call graph for this function:

◆ ddump() [1/4]

void Args::ddump ( ) const

Definition at line 305 of file Args.cpp.

Here is the call graph for this function:

◆ ddump() [2/4]

void Args::ddump ( ) const

◆ ddump() [3/4]

void Args::ddump ( ) const

◆ ddump() [4/4]

void Args::ddump ( ) const

◆ Dump()

void Args::Dump ( std::ostream &  os = std::cerr) const

Definition at line 321 of file Args.cpp.

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

◆ dump() [1/6]

void Args::dump ( std::ostream &  os = std::cerr) const
virtual

Reimplemented from Analysis::Args.

Definition at line 296 of file Args.cpp.

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

◆ dump() [2/6]

void Args::dump ( std::ostream &  os = std::cerr) const
virtual

Reimplemented from Analysis::Args.

◆ dump() [3/6]

void Args::dump ( std::ostream &  os = std::cerr) const
virtual

Reimplemented from Analysis::Args.

◆ dump() [4/6]

void Args::dump ( std::ostream &  os = std::cerr) const
virtual

Reimplemented from Analysis::Args.

◆ dump() [5/6]

virtual void Args::dump ( std::ostream &  os = std::cerr) const
virtual

Reimplemented from Analysis::Args.

◆ dump() [6/6]

virtual void Args::dump ( std::ostream &  os = std::cerr) const
virtual

Reimplemented from Analysis::Args.

◆ getCmd() [1/9]

virtual const std::string Args::getCmd ( ) const
virtual

Implements Analysis::ArgsHPCProf.

◆ getCmd() [2/9]

virtual const std::string Args::getCmd ( ) const
virtual

Implements Analysis::ArgsHPCProf.

◆ getCmd() [3/9]

const std::string& Args::getCmd ( ) const
inlinevirtual

Implements Analysis::ArgsHPCProf.

Definition at line 100 of file Args.hpp.

Here is the call graph for this function:

◆ getCmd() [4/9]

const std::string & Args::getCmd ( ) const
inlinevirtual

Implements Analysis::ArgsHPCProf.

Definition at line 102 of file Args.hpp.

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

◆ getCmd() [5/9]

const std::string& Args::getCmd ( ) const
virtual

Implements Analysis::ArgsHPCProf.

◆ getCmd() [6/9]

const std::string& Args::getCmd ( ) const
virtual

Implements Analysis::ArgsHPCProf.

◆ getCmd() [7/9]

const std::string& Args::getCmd ( ) const
virtual

Implements Analysis::ArgsHPCProf.

◆ getCmd() [8/9]

const std::string& Args::getCmd ( ) const
virtual

Implements Analysis::ArgsHPCProf.

◆ getCmd() [9/9]

const std::string & Args::getCmd ( )
static

Definition at line 201 of file Args.cpp.

Here is the call graph for this function:

◆ makeDatabaseDir() [1/2]

void Args::makeDatabaseDir ( )
inherited

Definition at line 203 of file Args.cpp.

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

◆ makeDatabaseDir() [2/2]

void Args::makeDatabaseDir ( )
inherited

Definition at line 203 of file Args.cpp.

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

◆ makeDBDirName()

std::string Analysis::ArgsHPCProf::makeDBDirName ( const std::string &  profileArg)
staticprotectedinherited

Definition at line 499 of file ArgsHPCProf.cpp.

Here is the caller graph for this function:

◆ MetricFlg_clear() [1/2]

static void Analysis::Args::MetricFlg_clear ( uint flags,
MetricFlg  x 
)
inlinestaticinherited

Definition at line 162 of file Args.hpp.

Here is the caller graph for this function:

◆ MetricFlg_clear() [2/2]

static void Analysis::Args::MetricFlg_clear ( uint flags,
MetricFlg  x 
)
inlinestaticinherited

Definition at line 162 of file Args.hpp.

Here is the caller graph for this function:

◆ MetricFlg_isSet() [1/2]

static bool Analysis::Args::MetricFlg_isSet ( uint  flags,
MetricFlg  x 
)
inlinestaticinherited

Definition at line 154 of file Args.hpp.

Here is the caller graph for this function:

◆ MetricFlg_isSet() [2/2]

static bool Analysis::Args::MetricFlg_isSet ( uint  flags,
MetricFlg  x 
)
inlinestaticinherited

Definition at line 154 of file Args.hpp.

Here is the caller graph for this function:

◆ MetricFlg_isSum() [1/2]

static bool Analysis::Args::MetricFlg_isSum ( uint  flags)
inlinestaticinherited

Definition at line 170 of file Args.hpp.

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

◆ MetricFlg_isSum() [2/2]

static bool Analysis::Args::MetricFlg_isSum ( uint  flags)
inlinestaticinherited

Definition at line 170 of file Args.hpp.

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

◆ MetricFlg_isThread() [1/2]

static bool Analysis::Args::MetricFlg_isThread ( uint  flags)
inlinestaticinherited

Definition at line 166 of file Args.hpp.

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

◆ MetricFlg_isThread() [2/2]

static bool Analysis::Args::MetricFlg_isThread ( uint  flags)
inlinestaticinherited

Definition at line 166 of file Args.hpp.

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

◆ MetricFlg_set() [1/2]

static void Analysis::Args::MetricFlg_set ( uint flags,
MetricFlg  x 
)
inlinestaticinherited

Definition at line 158 of file Args.hpp.

Here is the caller graph for this function:

◆ MetricFlg_set() [2/2]

static void Analysis::Args::MetricFlg_set ( uint flags,
MetricFlg  x 
)
inlinestaticinherited

Definition at line 158 of file Args.hpp.

Here is the caller graph for this function:

◆ normalizeSearchPaths() [1/2]

void Args::normalizeSearchPaths ( )
inherited

Definition at line 169 of file Args.cpp.

◆ normalizeSearchPaths() [2/2]

void Args::normalizeSearchPaths ( )
inherited

Definition at line 169 of file Args.cpp.

◆ Parse()

void Args::Parse ( int  argc,
const char *const  argv[] 
)

Definition at line 221 of file Args.cpp.

Here is the call graph for this function:

◆ parse() [1/7]

void Args::parse ( int  argc,
const char *const  argv[] 
)
virtual

Reimplemented from Analysis::ArgsHPCProf.

◆ parse() [2/7]

void Args::parse ( int  argc,
const char *const  argv[] 
)
virtual

Reimplemented from Analysis::ArgsHPCProf.

◆ parse() [3/7]

void Args::parse ( int  argc,
const char *const  argv[] 
)
virtual

Reimplemented from Analysis::ArgsHPCProf.

Definition at line 208 of file Args.cpp.

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

◆ parse() [4/7]

virtual void Args::parse ( int  argc,
const char *const  argv[] 
)
virtual

Reimplemented from Analysis::ArgsHPCProf.

◆ parse() [5/7]

void Args::parse ( int  argc,
const char *const  argv[] 
)
virtual

Reimplemented from Analysis::ArgsHPCProf.

◆ parse() [6/7]

void Args::parse ( int  argc,
const char *const  argv[] 
)
virtual

Reimplemented from Analysis::ArgsHPCProf.

◆ parse() [7/7]

void Args::parse ( int  argc,
const char *const  argv[] 
)
virtual

Reimplemented from Analysis::ArgsHPCProf.

◆ parseArg_metric() [1/2]

void Analysis::ArgsHPCProf::parseArg_metric ( const std::string &  value,
const char *  errTag 
)
protectedinherited

Definition at line 473 of file ArgsHPCProf.cpp.

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

◆ parseArg_metric() [2/2]

void Args::parseArg_metric ( Args args,
const std::string &  opts,
const char *  errTag 
)
static

Definition at line 260 of file Args.cpp.

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

◆ parseArg_norm()

bool Analysis::ArgsHPCProf::parseArg_norm ( const std::string &  value,
const char *  errTag 
)
protectedinherited

Definition at line 457 of file ArgsHPCProf.cpp.

Here is the caller graph for this function:

◆ PrintError() [1/2]

void Args::PrintError ( std::ostream &  os,
const char *  msg 
) const

Definition at line 207 of file Args.cpp.

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

◆ PrintError() [2/2]

void Args::PrintError ( std::ostream &  os,
const std::string &  msg 
) const

Definition at line 214 of file Args.cpp.

Here is the call graph for this function:

◆ printError() [1/12]

void Args::printError ( std::ostream &  os,
const char *  msg 
) const

Definition at line 194 of file Args.cpp.

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

◆ printError() [2/12]

void Args::printError ( std::ostream &  os,
const std::string &  msg 
) const

Definition at line 201 of file Args.cpp.

Here is the call graph for this function:

◆ printError() [3/12]

void Args::printError ( std::ostream &  os,
const char *  msg 
) const

◆ printError() [4/12]

void Args::printError ( std::ostream &  os,
const char *  msg 
) const

◆ printError() [5/12]

void Args::printError ( std::ostream &  os,
const char *  msg 
) const

◆ printError() [6/12]

void Args::printError ( std::ostream &  os,
const std::string &  msg 
) const

◆ printError() [7/12]

void Args::printError ( std::ostream &  os,
const std::string &  msg 
) const

◆ printError() [8/12]

void Args::printError ( std::ostream &  os,
const std::string &  msg 
) const

◆ printError() [9/12]

void Args::printError ( std::ostream &  os,
const char *  msg 
) const

◆ printError() [10/12]

void Args::printError ( std::ostream &  os,
const std::string &  msg 
) const

◆ printError() [11/12]

void Args::printError ( std::ostream &  os,
const char *  msg 
)
static

Definition at line 187 of file Args.cpp.

Here is the call graph for this function:

◆ printError() [12/12]

void Args::printError ( std::ostream &  os,
const std::string &  msg 
)
static

Definition at line 194 of file Args.cpp.

Here is the call graph for this function:

◆ PrintUsage()

void Args::PrintUsage ( std::ostream &  os) const

Definition at line 197 of file Args.cpp.

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

◆ printUsage() [1/6]

void Args::printUsage ( std::ostream &  os) const

Definition at line 186 of file Args.cpp.

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

◆ printUsage() [2/6]

void Args::printUsage ( std::ostream &  os) const

◆ printUsage() [3/6]

void Args::printUsage ( std::ostream &  os) const

◆ printUsage() [4/6]

void Args::printUsage ( std::ostream &  os) const

◆ printUsage() [5/6]

void Args::printUsage ( std::ostream &  os) const

◆ printUsage() [6/6]

void Args::printUsage ( std::ostream &  os) const

◆ PrintVersion()

void Args::PrintVersion ( std::ostream &  os) const

Definition at line 190 of file Args.cpp.

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

◆ printVersion() [1/6]

void Args::printVersion ( std::ostream &  os) const

Definition at line 179 of file Args.cpp.

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

◆ printVersion() [2/6]

void Args::printVersion ( std::ostream &  os) const

◆ printVersion() [3/6]

void Args::printVersion ( std::ostream &  os) const

◆ printVersion() [4/6]

void Args::printVersion ( std::ostream &  os) const

◆ printVersion() [5/6]

void Args::printVersion ( std::ostream &  os) const

◆ printVersion() [6/6]

void Args::printVersion ( std::ostream &  os) const

◆ searchPathStr() [1/2]

std::string Args::searchPathStr ( ) const
inherited

Definition at line 214 of file Args.cpp.

◆ searchPathStr() [2/2]

std::string Args::searchPathStr ( ) const
inherited

Definition at line 214 of file Args.cpp.

◆ setHPCHome() [1/2]

void Args::setHPCHome ( )
private

Definition at line 476 of file Args.cpp.

◆ setHPCHome() [2/2]

void Args::setHPCHome ( )
private

◆ toString()

string Args::toString ( ) const
virtualinherited

Definition at line 135 of file Args.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ agent [1/2]

std::string Analysis::Args::agent
inherited

Definition at line 114 of file Args.hpp.

◆ agent [2/2]

std::string Analysis::Args::agent
inherited

Definition at line 114 of file Args.hpp.

◆ compression

bool Args::compression

Definition at line 115 of file Args.hpp.

◆ configurationFile

std::string Args::configurationFile

Definition at line 118 of file Args.hpp.

◆ configurationFileMode

bool Args::configurationFileMode

Definition at line 117 of file Args.hpp.

◆ db_addStructId [1/2]

bool Analysis::Args::db_addStructId
inherited

Definition at line 205 of file Args.hpp.

◆ db_addStructId [2/2]

bool Analysis::Args::db_addStructId
inherited

Definition at line 205 of file Args.hpp.

◆ db_copySrcFiles [1/2]

bool Analysis::Args::db_copySrcFiles
inherited

Definition at line 200 of file Args.hpp.

◆ db_copySrcFiles [2/2]

bool Analysis::Args::db_copySrcFiles
inherited

Definition at line 200 of file Args.hpp.

◆ db_dir [1/2]

std::string Analysis::Args::db_dir
inherited

Definition at line 199 of file Args.hpp.

◆ db_dir [2/2]

std::string Analysis::Args::db_dir
inherited

Definition at line 199 of file Args.hpp.

◆ db_makeMetricDB [1/2]

bool Analysis::Args::db_makeMetricDB
inherited

Definition at line 204 of file Args.hpp.

◆ db_makeMetricDB [2/2]

bool Analysis::Args::db_makeMetricDB
inherited

Definition at line 204 of file Args.hpp.

◆ dbgProcGlob

std::string Args::dbgProcGlob

Definition at line 124 of file Args.hpp.

◆ debugLevel

int Args::debugLevel

Definition at line 110 of file Args.hpp.

◆ demangle_function

std::string Args::demangle_function

Definition at line 121 of file Args.hpp.

◆ demangle_library

std::string Args::demangle_library

Definition at line 120 of file Args.hpp.

◆ doNormalizeTy [1/2]

bool Analysis::Args::doNormalizeTy
inherited

Definition at line 140 of file Args.hpp.

◆ doNormalizeTy [2/2]

bool Analysis::Args::doNormalizeTy
inherited

Definition at line 140 of file Args.hpp.

◆ dumpDecode

bool Args::dumpDecode

Definition at line 107 of file Args.hpp.

◆ dumpLong

bool Args::dumpLong

Definition at line 105 of file Args.hpp.

◆ dumpOld

bool Args::dumpOld

Definition at line 108 of file Args.hpp.

◆ dumpShort

bool Args::dumpShort

Definition at line 106 of file Args.hpp.

◆ excludeMList

std::string Args::excludeMList

Definition at line 105 of file Args.hpp.

◆ groupFiles [1/2]

std::vector<std::string> Analysis::Args::groupFiles
inherited

Definition at line 131 of file Args.hpp.

◆ groupFiles [2/2]

std::vector<std::string> Analysis::Args::groupFiles
inherited

Definition at line 131 of file Args.hpp.

◆ hpcHome

std::string Args::hpcHome

Definition at line 111 of file Args.hpp.

◆ hpcprof_forceMetrics

bool Args::hpcprof_forceMetrics

Definition at line 97 of file Args.hpp.

◆ hpcprof_isMetricArg

bool Args::hpcprof_isMetricArg

Definition at line 96 of file Args.hpp.

◆ HPCTOOLKIT

const string Args::HPCTOOLKIT = "HPCTOOLKIT"
staticprivate

Definition at line 125 of file Args.hpp.

◆ in_filenm

std::string Args::in_filenm

Definition at line 132 of file Args.hpp.

◆ inputFile

std::string Args::inputFile

Definition at line 113 of file Args.hpp.

◆ isForwardSubstitution

bool Args::isForwardSubstitution

Definition at line 123 of file Args.hpp.

◆ isIrreducibleIntervalLoop

bool Args::isIrreducibleIntervalLoop

Definition at line 122 of file Args.hpp.

◆ jobs

int Args::jobs

Definition at line 112 of file Args.hpp.

◆ jobs_parse

int Args::jobs_parse

Definition at line 113 of file Args.hpp.

◆ jobs_symtab

int Args::jobs_symtab

Definition at line 114 of file Args.hpp.

◆ listAvailableMetrics

unsigned int Args::listAvailableMetrics

Definition at line 103 of file Args.hpp.

◆ listEvents

EventList_t Args::listEvents

Definition at line 111 of file Args.hpp.

◆ loadVMA

VMA Args::loadVMA

Definition at line 109 of file Args.hpp.

◆ lush_agent

std::string Args::lush_agent

Definition at line 118 of file Args.hpp.

◆ mainPort

int Args::mainPort

Definition at line 113 of file Args.hpp.

◆ metricList

std::string Args::metricList

Definition at line 104 of file Args.hpp.

◆ obj_metricsAsPercents

bool Args::obj_metricsAsPercents

Definition at line 142 of file Args.hpp.

◆ obj_procGlobs

std::vector<std::string> Args::obj_procGlobs

Definition at line 139 of file Args.hpp.

◆ obj_procThreshold

uint64_t Args::obj_procThreshold

Definition at line 140 of file Args.hpp.

◆ obj_showSourceCode

bool Args::obj_showSourceCode

Definition at line 143 of file Args.hpp.

◆ optArgs

static CmdLineParser::OptArgDesc Args::optArgs
staticprivate
Initial value:
= {
{ 0 , "long", CLP::ARG_NONE, CLP::DUPOPT_CLOB, NULL, NULL },
{ 0 , "short", CLP::ARG_NONE, CLP::DUPOPT_CLOB, NULL, NULL },
{ 0 , "decode", CLP::ARG_NONE, CLP::DUPOPT_CLOB, NULL, NULL },
{ 0 , "old", CLP::ARG_NONE, CLP::DUPOPT_CLOB, NULL, NULL },
{ 'l', "load-addr", CLP::ARG_REQ , CLP::DUPOPT_CLOB, NULL, NULL },
{ 'V', "version", CLP::ARG_NONE, CLP::DUPOPT_CLOB, NULL, NULL },
{ 'h', "help", CLP::ARG_NONE, CLP::DUPOPT_CLOB, NULL, NULL },
{ 0 , "debug", CLP::ARG_OPT, CLP::DUPOPT_CLOB, NULL, CLP::isOptArg_long },
}

Definition at line 119 of file Args.hpp.

◆ out_db_config [1/2]

std::string Analysis::Args::out_db_config
inherited

Definition at line 202 of file Args.hpp.

◆ out_db_config [2/2]

std::string Analysis::Args::out_db_config
inherited

Definition at line 202 of file Args.hpp.

◆ out_db_csv [1/2]

std::string Analysis::Args::out_db_csv
inherited

Definition at line 197 of file Args.hpp.

◆ out_db_csv [2/2]

std::string Analysis::Args::out_db_csv
inherited

Definition at line 197 of file Args.hpp.

◆ out_db_experiment [1/2]

std::string Analysis::Args::out_db_experiment
inherited

Definition at line 196 of file Args.hpp.

◆ out_db_experiment [2/2]

std::string Analysis::Args::out_db_experiment
inherited

Definition at line 196 of file Args.hpp.

◆ out_filenm

std::string Args::out_filenm

Definition at line 126 of file Args.hpp.

◆ out_txt [1/2]

std::string Analysis::Args::out_txt
inherited

Definition at line 213 of file Args.hpp.

◆ out_txt [2/2]

std::string Analysis::Args::out_txt
inherited

Definition at line 213 of file Args.hpp.

◆ outputRawMetrics

bool Args::outputRawMetrics

Definition at line 106 of file Args.hpp.

◆ parser

CmdLineParser Args::parser
private

Definition at line 120 of file Args.hpp.

◆ prettyPrintOutput

bool Args::prettyPrintOutput

Definition at line 127 of file Args.hpp.

◆ printPaths

bool Args::printPaths

Definition at line 112 of file Args.hpp.

◆ prof_metrics [1/2]

uint Analysis::Args::prof_metrics
inherited

Definition at line 176 of file Args.hpp.

◆ prof_metrics [2/2]

uint Analysis::Args::prof_metrics
inherited

Definition at line 176 of file Args.hpp.

◆ profArgV

std::vector<std::string> Args::profArgV

Definition at line 122 of file Args.hpp.

◆ profEvents

std::string Args::profEvents

Definition at line 117 of file Args.hpp.

◆ profFile

std::string Args::profFile

Definition at line 110 of file Args.hpp.

◆ profflat_computeFinalMetricValues [1/2]

bool Analysis::Args::profflat_computeFinalMetricValues
inherited

Definition at line 182 of file Args.hpp.

◆ profflat_computeFinalMetricValues [2/2]

bool Analysis::Args::profflat_computeFinalMetricValues
inherited

Definition at line 182 of file Args.hpp.

◆ profileFiles [1/2]

std::vector<std::string> Analysis::Args::profileFiles
inherited

Definition at line 138 of file Args.hpp.

◆ profileFiles [2/2]

std::vector<std::string> Analysis::Args::profileFiles
inherited

Definition at line 138 of file Args.hpp.

◆ profOutput

std::string Args::profOutput

Definition at line 118 of file Args.hpp.

◆ profPAPIFlag

std::string Args::profPAPIFlag

Definition at line 119 of file Args.hpp.

◆ profRecursive

std::string Args::profRecursive

Definition at line 115 of file Args.hpp.

◆ profThread

std::string Args::profThread

Definition at line 116 of file Args.hpp.

◆ progFile

std::string Args::progFile

Definition at line 109 of file Args.hpp.

◆ remove_redundancy [1/2]

bool Analysis::Args::remove_redundancy
inherited

Definition at line 241 of file Args.hpp.

◆ remove_redundancy [2/2]

bool Analysis::Args::remove_redundancy
inherited

Definition at line 241 of file Args.hpp.

◆ replaceInPath [1/2]

std::vector<std::string> Analysis::Args::replaceInPath
inherited

Definition at line 134 of file Args.hpp.

◆ replaceInPath [2/2]

std::vector<std::string> Analysis::Args::replaceInPath
inherited

Definition at line 134 of file Args.hpp.

◆ replaceOutPath [1/2]

std::vector<std::string> Analysis::Args::replaceOutPath
inherited

Definition at line 135 of file Args.hpp.

◆ replaceOutPath [2/2]

std::vector<std::string> Analysis::Args::replaceOutPath
inherited

Definition at line 135 of file Args.hpp.

◆ searchPathStr

std::string Args::searchPathStr

Definition at line 119 of file Args.hpp.

◆ searchPathTpls [1/2]

PathTupleVec Analysis::Args::searchPathTpls
inherited

Definition at line 125 of file Args.hpp.

◆ searchPathTpls [2/2]

PathTupleVec Analysis::Args::searchPathTpls
inherited

Definition at line 125 of file Args.hpp.

◆ show_gaps

bool Args::show_gaps

Definition at line 129 of file Args.hpp.

◆ show_time

bool Args::show_time

Definition at line 115 of file Args.hpp.

◆ structureFiles [1/2]

std::vector<std::string> Analysis::Args::structureFiles
inherited

Definition at line 128 of file Args.hpp.

◆ structureFiles [2/2]

std::vector<std::string> Analysis::Args::structureFiles
inherited

Definition at line 128 of file Args.hpp.

◆ title [1/2]

std::string Analysis::Args::title
inherited

Definition at line 121 of file Args.hpp.

◆ title [2/2]

std::string Analysis::Args::title
inherited

Definition at line 121 of file Args.hpp.

◆ txt_srcAnnotation [1/2]

bool Analysis::Args::txt_srcAnnotation
inherited

Definition at line 233 of file Args.hpp.

◆ txt_srcAnnotation [2/2]

bool Analysis::Args::txt_srcAnnotation
inherited

Definition at line 233 of file Args.hpp.

◆ txt_srcFileGlobs [1/2]

std::vector<std::string> Analysis::Args::txt_srcFileGlobs
inherited

Definition at line 234 of file Args.hpp.

◆ txt_srcFileGlobs [2/2]

std::vector<std::string> Analysis::Args::txt_srcFileGlobs
inherited

Definition at line 234 of file Args.hpp.

◆ txt_summary [1/2]

int Analysis::Args::txt_summary
inherited

Definition at line 231 of file Args.hpp.

◆ txt_summary [2/2]

int Analysis::Args::txt_summary
inherited

Definition at line 231 of file Args.hpp.

◆ useBinutils

bool Args::useBinutils

Definition at line 128 of file Args.hpp.

◆ xmlPort

int Args::xmlPort

Definition at line 114 of file Args.hpp.


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