59 #include "rnr/rnrconfig.h" 96 "Unit test liblaelaps LaeTune and LaeXmlTune classes.",
99 "The %P command unit tests the liblaelap LaeTune and LaeXmlTune class " 126 Argv0 = basename(argv[0]);
133 fprintf(stderr,
"Error: No Laelaps XMl tune file specified.\n");
150 int main(
int argc,
char* argv[])
158 printf(
"--------------- Before parsing ---------------\n");
163 printf(
"\nError: Failed to load/parse file %s\n",
ArgFileName);
168 printf(
"--------------- After parsing ---------------\n");
static char * Argv0
the command
Laelaps tuning data class.
LaeXmlTune <b><i>Laelaps</i></b> XML tuning class.
virtual int loadFile(const std::string &strXmlFileName=LaeEtcTune)
Load XML file into DOM.
static void mainInit(int argc, char *argv[])
Main initialization.
void print(int indent=0)
Print out tuning parameters to stdout.
static char * ArgFileName
XML file name.
<b><i>Laelaps</i></b> XML tuning class interface.
#define APP_EC_OK
success exit code
static OptsInfo_T OptsInfo[]
Command line options information.
The <b><i>Laelaps</i></b> namespace encapsulates all <b><i>Laelaps</i></b> related constructs...
static const PkgInfo_T PkgInfo
Package version information.
int main(int argc, char *argv[])
Main.
#define APP_EC_EXEC
execution exit code
#define APP_EC_ARGS
command-line options/arguments error exit code
static OptsPgmInfo_T PgmInfo
Program information.
Top-level package include file.