HPCToolkit
|
#include <Args.hpp>
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) |
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" |
enum Args::EventList_t |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Args::Args | ( | ) |
Args::Args | ( | int | argc, |
const char *const | argv[] | ||
) |
|
virtual |
Reimplemented from Analysis::Args.
Definition at line 173 of file Args.cpp.
Args::Args | ( | ) |
|
virtual |
Reimplemented from Analysis::Args.
Args::Args | ( | ) |
Args::Args | ( | int | argc, |
const char *const | argv[] | ||
) |
|
virtual |
Reimplemented from Analysis::Args.
Args::Args | ( | ) |
|
virtual |
Reimplemented from Analysis::Args.
Args::Args | ( | ) |
Args::Args | ( | int | argc, |
const char *const | argv[] | ||
) |
|
virtual |
Reimplemented from Analysis::Args.
Args::Args | ( | ) |
Args::Args | ( | int | argc, |
const char *const | argv[] | ||
) |
|
virtual |
Reimplemented from Analysis::Args.
Args::Args | ( | ) |
Args::Args | ( | int | argc, |
const char *const | argv[] | ||
) |
|
virtual |
Reimplemented from Analysis::Args.
Args::Args | ( | ) |
Args::Args | ( | int | argc, |
const char *const | argv[] | ||
) |
|
virtual |
Reimplemented from Analysis::Args.
Args::Args | ( | ) |
Args::Args | ( | int | argc, |
const char *const | argv[] | ||
) |
|
virtual |
Reimplemented from Analysis::Args.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void Args::DDump | ( | ) | const |
void Args::ddump | ( | ) | const |
void Args::ddump | ( | ) | const |
void Args::ddump | ( | ) | const |
void Args::ddump | ( | ) | const |
void Args::Dump | ( | std::ostream & | os = std::cerr | ) | const |
|
virtual |
Reimplemented from Analysis::Args.
Definition at line 296 of file Args.cpp.
|
virtual |
Reimplemented from Analysis::Args.
|
virtual |
Reimplemented from Analysis::Args.
|
virtual |
Reimplemented from Analysis::Args.
|
virtual |
Reimplemented from Analysis::Args.
|
virtual |
Reimplemented from Analysis::Args.
|
virtual |
Implements Analysis::ArgsHPCProf.
|
virtual |
Implements Analysis::ArgsHPCProf.
|
inlinevirtual |
Implements Analysis::ArgsHPCProf.
Definition at line 100 of file Args.hpp.
|
inlinevirtual |
Implements Analysis::ArgsHPCProf.
Definition at line 102 of file Args.hpp.
|
virtual |
Implements Analysis::ArgsHPCProf.
|
virtual |
Implements Analysis::ArgsHPCProf.
|
virtual |
Implements Analysis::ArgsHPCProf.
|
virtual |
Implements Analysis::ArgsHPCProf.
|
static |
|
inherited |
|
inherited |
|
staticprotectedinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
void Args::Parse | ( | int | argc, |
const char *const | argv[] | ||
) |
|
virtual |
Reimplemented from Analysis::ArgsHPCProf.
|
virtual |
Reimplemented from Analysis::ArgsHPCProf.
|
virtual |
Reimplemented from Analysis::ArgsHPCProf.
Definition at line 208 of file Args.cpp.
|
virtual |
Reimplemented from Analysis::ArgsHPCProf.
|
virtual |
Reimplemented from Analysis::ArgsHPCProf.
|
virtual |
Reimplemented from Analysis::ArgsHPCProf.
|
virtual |
Reimplemented from Analysis::ArgsHPCProf.
|
protectedinherited |
Definition at line 473 of file ArgsHPCProf.cpp.
|
static |
|
protectedinherited |
void Args::PrintError | ( | std::ostream & | os, |
const char * | msg | ||
) | const |
void Args::PrintError | ( | std::ostream & | os, |
const std::string & | msg | ||
) | const |
void Args::printError | ( | std::ostream & | os, |
const char * | msg | ||
) | const |
void Args::printError | ( | std::ostream & | os, |
const std::string & | msg | ||
) | const |
void Args::printError | ( | std::ostream & | os, |
const char * | msg | ||
) | const |
void Args::printError | ( | std::ostream & | os, |
const char * | msg | ||
) | const |
void Args::printError | ( | std::ostream & | os, |
const char * | msg | ||
) | const |
void Args::printError | ( | std::ostream & | os, |
const std::string & | msg | ||
) | const |
void Args::printError | ( | std::ostream & | os, |
const std::string & | msg | ||
) | const |
void Args::printError | ( | std::ostream & | os, |
const std::string & | msg | ||
) | const |
void Args::printError | ( | std::ostream & | os, |
const char * | msg | ||
) | const |
void Args::printError | ( | std::ostream & | os, |
const std::string & | msg | ||
) | const |
|
static |
|
static |
void Args::PrintUsage | ( | std::ostream & | os | ) | const |
void Args::printUsage | ( | std::ostream & | os | ) | const |
void Args::printUsage | ( | std::ostream & | os | ) | const |
void Args::printUsage | ( | std::ostream & | os | ) | const |
void Args::printUsage | ( | std::ostream & | os | ) | const |
void Args::printUsage | ( | std::ostream & | os | ) | const |
void Args::printUsage | ( | std::ostream & | os | ) | const |
void Args::PrintVersion | ( | std::ostream & | os | ) | const |
void Args::printVersion | ( | std::ostream & | os | ) | const |
void Args::printVersion | ( | std::ostream & | os | ) | const |
void Args::printVersion | ( | std::ostream & | os | ) | const |
void Args::printVersion | ( | std::ostream & | os | ) | const |
void Args::printVersion | ( | std::ostream & | os | ) | const |
void Args::printVersion | ( | std::ostream & | os | ) | const |
|
private |
|
virtualinherited |
|
inherited |
|
inherited |
EventList_t Args::listEvents |
|
staticprivate |
|
private |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |