Difference between revisions of "Sniper configuration"
Jump to navigation
Jump to search
(Created page with "Sniper is configured using command-line parameters and/or configuration files. The default configuration is stored in <code>sniper/config/default.cfg</code>. The <code>run-sniper...") |
(No difference)
|
Revision as of 07:21, 16 January 2012
Sniper is configured using command-line parameters and/or configuration files. The default configuration is stored in sniper/config/default.cfg. The run-sniper script accepts the -c configfile and -g configsetting commandline parameters to modify this. Configuration files or parameters are evaluated from left to right on the commandline, newer values override older ones.
-c configfile: includes the configfile configuration file. If no-coption is used,gainestownis automatically assumed which models a Nehalem-like system.configfilecan be either an existing filename in the current path (e.g.-c ./myconf.cfg), or it can be the name of a predefined config file insniper/configwithout its.cfgextension (e.g.-c gainestownto includesniper/config/gainestown.cfg)-g --section/parameter=value: set a single parameter value (e.g.--perf_model/core/frequency=2.66).