HPCToolkit
Analysis::Args Class Reference

#include <Args.hpp>

Inheritance diagram for Analysis::Args:
Collaboration diagram for Analysis::Args:

Public Types

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 ()
 
virtual ~Args ()
 
virtual std::string toString () const
 
virtual void dump (std::ostream &os=std::cerr) const
 
void ddump () const
 
void normalizeSearchPaths ()
 
void makeDatabaseDir ()
 
std::string searchPathStr () const
 

Static Public Member Functions

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

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
 

Private Member Functions

void Ctor ()
 

Detailed Description

Definition at line 97 of file Args.hpp.

Member Enumeration Documentation

◆ MetricFlg

Enumerator
MetricFlg_NULL 
MetricFlg_Thread 
MetricFlg_StatsSum 
MetricFlg_StatsAll 

Definition at line 146 of file Args.hpp.

◆ TxtSum

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()

Args::Args ( )

Definition at line 89 of file Args.cpp.

Here is the call graph for this function:

◆ ~Args()

Args::~Args ( )
virtual

Reimplemented in Args, Args, Args, Args, Args, Args, Args, Args, and Args.

Definition at line 129 of file Args.cpp.

Member Function Documentation

◆ Ctor()

void Args::Ctor ( )
private

Definition at line 96 of file Args.cpp.

Here is the caller graph for this function:

◆ ddump()

void Args::ddump ( ) const

Definition at line 154 of file Args.cpp.

Here is the call graph for this function:

◆ dump()

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

Reimplemented in Args, Analysis::ArgsHPCProf, Args, Args, Args, Args, and Args.

Definition at line 144 of file Args.cpp.

Here is the caller graph for this function:

◆ makeDatabaseDir()

void Args::makeDatabaseDir ( )

Definition at line 203 of file Args.cpp.

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

◆ MetricFlg_clear()

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

Definition at line 162 of file Args.hpp.

Here is the caller graph for this function:

◆ MetricFlg_isSet()

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

Definition at line 154 of file Args.hpp.

Here is the caller graph for this function:

◆ MetricFlg_isSum()

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

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()

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

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()

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

Definition at line 158 of file Args.hpp.

Here is the caller graph for this function:

◆ normalizeSearchPaths()

void Args::normalizeSearchPaths ( )

Definition at line 169 of file Args.cpp.

◆ searchPathStr()

std::string Args::searchPathStr ( ) const

Definition at line 214 of file Args.cpp.

◆ toString()

string Args::toString ( ) const
virtual

Definition at line 135 of file Args.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ agent

std::string Analysis::Args::agent

Definition at line 114 of file Args.hpp.

◆ db_addStructId

bool Analysis::Args::db_addStructId

Definition at line 205 of file Args.hpp.

◆ db_copySrcFiles

bool Analysis::Args::db_copySrcFiles

Definition at line 200 of file Args.hpp.

◆ db_dir

std::string Analysis::Args::db_dir

Definition at line 199 of file Args.hpp.

◆ db_makeMetricDB

bool Analysis::Args::db_makeMetricDB

Definition at line 204 of file Args.hpp.

◆ doNormalizeTy

bool Analysis::Args::doNormalizeTy

Definition at line 140 of file Args.hpp.

◆ groupFiles

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

Definition at line 131 of file Args.hpp.

◆ out_db_config

std::string Analysis::Args::out_db_config

Definition at line 202 of file Args.hpp.

◆ out_db_csv

std::string Analysis::Args::out_db_csv

Definition at line 197 of file Args.hpp.

◆ out_db_experiment

std::string Analysis::Args::out_db_experiment

Definition at line 196 of file Args.hpp.

◆ out_txt

std::string Analysis::Args::out_txt

Definition at line 213 of file Args.hpp.

◆ prof_metrics

uint Analysis::Args::prof_metrics

Definition at line 176 of file Args.hpp.

◆ profflat_computeFinalMetricValues

bool Analysis::Args::profflat_computeFinalMetricValues

Definition at line 182 of file Args.hpp.

◆ profileFiles

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

Definition at line 138 of file Args.hpp.

◆ remove_redundancy

bool Analysis::Args::remove_redundancy

Definition at line 241 of file Args.hpp.

◆ replaceInPath

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

Definition at line 134 of file Args.hpp.

◆ replaceOutPath

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

Definition at line 135 of file Args.hpp.

◆ searchPathTpls

PathTupleVec Analysis::Args::searchPathTpls

Definition at line 125 of file Args.hpp.

◆ structureFiles

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

Definition at line 128 of file Args.hpp.

◆ title

std::string Analysis::Args::title

Definition at line 121 of file Args.hpp.

◆ txt_srcAnnotation

bool Analysis::Args::txt_srcAnnotation

Definition at line 233 of file Args.hpp.

◆ txt_srcFileGlobs

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

Definition at line 234 of file Args.hpp.

◆ txt_summary

int Analysis::Args::txt_summary

Definition at line 231 of file Args.hpp.


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