HPCToolkit
Args.cpp File Reference
#include <iostream>
#include <string>
#include <include/hpctoolkit-config.h>
#include <include/gcc-attr.h>
#include "Args.hpp"
#include <lib/analysis/Util.hpp>
#include <lib/support/diagnostics.h>
#include <lib/support/Trace.hpp>
#include <lib/support/StrUtil.hpp>
Include dependency graph for Args.cpp:

Go to the source code of this file.

Macros

#define ARG_Throw(streamArgs)   DIAG_ThrowX(Args::Exception, streamArgs)
 
#define ARG_ERROR(streamArgs)
 
#define CLP   CmdLineParser
 
#define CLP_SEPARATOR   "!!!"
 

Variables

static const char * version_info = HPCTOOLKIT_VERSION_STRING
 
static const char * usage_summary
 
static const char * usage_details
 

Macro Definition Documentation

◆ ARG_ERROR

#define ARG_ERROR (   streamArgs)
Value:
{ std::ostringstream WeIrDnAmE; \
WeIrDnAmE << streamArgs /*<< std::ends*/; \
printError(std::cerr, WeIrDnAmE.str()); \
exit(1); }

Definition at line 87 of file Args.cpp.

◆ ARG_Throw

#define ARG_Throw (   streamArgs)    DIAG_ThrowX(Args::Exception, streamArgs)

Definition at line 84 of file Args.cpp.

◆ CLP

#define CLP   CmdLineParser

Definition at line 109 of file Args.cpp.

◆ CLP_SEPARATOR

#define CLP_SEPARATOR   "!!!"

Definition at line 110 of file Args.cpp.

Variable Documentation

◆ usage_details

const char* usage_details
static
Initial value:
=
"hpcproftt generates textual dumps of call path profiles\n"
"recorded by hpcrun. The profile list may contain one or\n"
"more call path profiles.\n"
"\n"
"Options:\n"
" -V, --version Print version information.\n"
" -h, --help Print this help.\n"

Definition at line 100 of file Args.cpp.

◆ usage_summary

const char* usage_summary
static
Initial value:
=
"profile-file [profile-file]*\n"

Definition at line 97 of file Args.cpp.

◆ version_info

const char* version_info = HPCTOOLKIT_VERSION_STRING
static

Definition at line 95 of file Args.cpp.