GlobalOpts.C File Reference

#include "Component/GlobalOpts.H"
#include "Component/ModelOptionDef.H"
#include "Util/fpu.H"
Include dependency graph for GlobalOpts.C:

Go to the source code of this file.

Variables

const ModelOptionDef OPT_ShowHelpMessage
 Global command-line options for ModelManager et al.
const ModelOptionDef OPT_ShowVersion
const ModelOptionDef OPT_ShowSvnVersion
const ModelOptionDef OPT_CheckPristine
const ModelOptionDef OPT_DebugMode
const ModelOptionDef OPT_UsingFPE
const ModelOptionDef OPT_FpuPrecision
const ModelOptionDef OPT_FpuRoundingMode
const ModelOptionDef OPT_TestMode
const ModelOptionDef OPT_LoadConfigFile
const ModelOptionDef OPT_SaveConfigFile
const ModelOptionDef OPT_TextLogFile
const ModelOptionDef OPT_UseRandom
const ModelOptionDef OPT_ProfileOutFile
const ModelOptionDef OPT_LogVerb
const ModelOptionDef OPT_EchoArgs
const ModelOptionDef OPT_MemCaching

Detailed Description

Definition in file GlobalOpts.C.


Variable Documentation

const ModelOptionDef OPT_CheckPristine
Initial value:
  { MODOPT_FLAG, "CheckPristine", &MOC_GENERAL, OPTEXP_CORE,
    "Check if the executable was built from pristine source (i.e., "
    "all files up-to-date and not locally modified), and return an "
    "exit code of zero if true, and non-zero otherwise",
    "check-pristine", '\0', "", "false" }

Definition at line 67 of file GlobalOpts.C.

const ModelOptionDef OPT_DebugMode
Initial value:
  { MODOPT_FLAG, "DebugMode", &MOC_GENERAL, OPTEXP_CORE,
    "Use debug mode, which, in particular, will increase the verbosity of "
    "the log messages and printout all model parameter values just before "
    "the model starts",
    "debug", 'd', "", "false" }

Definition at line 75 of file GlobalOpts.C.

const ModelOptionDef OPT_EchoArgs
Initial value:
  { MODOPT_FLAG, "EchoArgs", &MOC_GENERAL, OPTEXP_CORE,
    "Echo all the command-line arguments to stdout after "
    "command-line parsing is done.",
    "echo-args", '\0', "", "false" }

Definition at line 155 of file GlobalOpts.C.

const ModelOptionDef OPT_FpuPrecision
Initial value:
  { MODOPT_ARG(FpuPrecision), "FpuPrecision", &MOC_GENERAL, OPTEXP_CORE,
    "Specifies the precision in which the floating-point unit (FPU) "
    "should operate; default is 'extended'",
    "fpu-precision", '\0', "<single|double|extended>", "extended" }

Definition at line 90 of file GlobalOpts.C.

const ModelOptionDef OPT_FpuRoundingMode
Initial value:
  { MODOPT_ARG(FpuRoundingMode), "FpuRoundingMode", &MOC_GENERAL, OPTEXP_CORE,
    "Specifies the rounding-mode in which the floating-point unit (FPU) "
    "should operate; options are nearest (toward nearest), down "
    "(toward -inf), up (toward +inf), zero (toward zero)",
    "fpu-rounding", '\0', "<nearest|down|up|zero>", "nearest" }

Definition at line 97 of file GlobalOpts.C.

const ModelOptionDef OPT_LoadConfigFile
Initial value:
  { MODOPT_ARG_STRING, "LoadConfigFile", &MOC_GENERAL, OPTEXP_CORE,
    "Load configuration from file",
    "load-config-from", '\0', "<file.pmap>", "" }

Definition at line 115 of file GlobalOpts.C.

const ModelOptionDef OPT_LogVerb
Initial value:
  { MODOPT_ARG_STRING, "LogVerb", &MOC_GENERAL, OPTEXP_CORE,
    "Verbosity of log messages displayed during execution. If 'Default' is "
    "selected, will use whatever value may have been set as default "
    "in the program.",
    "logverb", '\0', "<Debug|Info|Error|Fatal|Default>", "Default" }

Definition at line 147 of file GlobalOpts.C.

const ModelOptionDef OPT_MemCaching
Initial value:
  { MODOPT_FLAG, "MemCaching", &MOC_GENERAL, OPTEXP_CORE,
    "Whether to cache memory allocations of commonly-used sizes.",
    "mem-caching", '\0', "", "true" }

Definition at line 162 of file GlobalOpts.C.

const ModelOptionDef OPT_ProfileOutFile
Initial value:
  { MODOPT_ARG_STRING, "ProfileOutFile", &MOC_GENERAL, OPTEXP_CORE,
    "Where to save profiling information upon program exit (if 'none' "
    "is passed for the filename, then profiling information will not "
    "be saved at all)",
    "profile-out", '\0', "<filename>", "" }

Definition at line 139 of file GlobalOpts.C.

const ModelOptionDef OPT_SaveConfigFile
Initial value:
  { MODOPT_ARG_STRING, "SaveConfigFile", &MOC_GENERAL, OPTEXP_CORE,
    "Save configuration to file",
    "save-config-to", '\0', "<file.pmap>", "" }

Definition at line 121 of file GlobalOpts.C.

Initial value:
  { MODOPT_FLAG, "ShowHelpMessage", &MOC_GENERAL, OPTEXP_CORE,
    "Show help message and option syntax",
    "help", 'h', "", "true" }

Global command-line options for ModelManager et al.

Definition at line 48 of file GlobalOpts.C.

Referenced by CmdlineOptionManager::parseCommandLineCore().

const ModelOptionDef OPT_ShowSvnVersion
Initial value:
  { MODOPT_FLAG, "ShowSvnVersion", &MOC_GENERAL, OPTEXP_CORE,
    "Show the svn repository version of the current build",
    "svnversion", '\0', "", "false" }

Definition at line 61 of file GlobalOpts.C.

const ModelOptionDef OPT_ShowVersion
Initial value:
  { MODOPT_FLAG, "ShowVersion", &MOC_GENERAL, OPTEXP_CORE,
    "Show the package name, version, and the svn repository "
    "version of the current build",
    "version", '\0', "", "false" }

Definition at line 54 of file GlobalOpts.C.

const ModelOptionDef OPT_TestMode
Initial value:
  { MODOPT_FLAG, "TestMode", &MOC_GENERAL, OPTEXP_CORE,
    "Use test mode, which, in particular, will turn off randomness (like "
    "--nouse-random), reset random numbers to a reproducible pseudo "
    "sequence, and turn off most displays. This is mostly useful for "
    "execution of the test suite, or any situation where you need "
    "deterministic, reproducible behavior",
    "test-mode", 'Z', "", "false" }

Definition at line 105 of file GlobalOpts.C.

const ModelOptionDef OPT_TextLogFile
Initial value:
  { MODOPT_ARG_STRING, "TextLogFile", &MOC_GENERAL, OPTEXP_CORE,
    "Save text log messages to file",
    "textlog", '\0', "<file.log>", "" }

Definition at line 127 of file GlobalOpts.C.

const ModelOptionDef OPT_UseRandom
Initial value:
  { MODOPT_FLAG, "UseRandom", &MOC_GENERAL, OPTEXP_CORE,
    "Add small amounts of random noise to various stages of model",
    "use-random", '\0', "", "true" }

Definition at line 133 of file GlobalOpts.C.

const ModelOptionDef OPT_UsingFPE
Initial value:
  { MODOPT_FLAG, "UsingFPE", &MOC_GENERAL, OPTEXP_CORE,
      "Use floating-point exceptions, which will abort execution if overflow, "
      "underflow, invalid or division by zero are encountered",
      "use-fpe", '\0', "", "true" }

Definition at line 83 of file GlobalOpts.C.

Generated on Sun May 8 08:42:39 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3