The Sparta Modeling Framework
|
Optional default values for the simulator which can be customized and provided by anyone instantiating the simulator at construction-time. More...
#include <SimulationConfiguration.hpp>
Public Types | |
enum class | RetiredInstPathStrictness { Strict , Relaxed } |
Public Attributes | |
std::vector< std::string > | arch_search_dirs = {""} |
std::string | arch_arg_default = "" |
bool | non_empty_arch_arg_required = false |
std::string | run_time_clock = "" |
std::string | inst_counter = "" |
std::list< ParameterTemplate > | other_meta_params = {} |
std::string | auto_summary_default = "off" |
std::pair< std::string, RetiredInstPathStrictness > | path_to_retired_inst_counter |
Optional default values for the simulator which can be customized and provided by anyone instantiating the simulator at construction-time.
Definition at line 39 of file SimulationConfiguration.hpp.
|
strong |
From "top.core*", what is the path to the counter specifying retired instructions on a given core? For instance,
Retired instruction counters: "top.core0.rob.stats.total_number_retired" "top.core1.rob.stats.total_number_retired"
Then the path_to_retired_inst_counter is: "rob.stats.total_number_retired"
Definition at line 97 of file SimulationConfiguration.hpp.
std::string sparta::app::DefaultValues::arch_arg_default = "" |
Default for –arch. This is not processed by SimulationConfiguration as a user might supply a different arch on the command line
Definition at line 52 of file SimulationConfiguration.hpp.
std::vector<std::string> sparta::app::DefaultValues::arch_search_dirs = {""} |
Default for architecture search directory (–arch-search-dir)
Definition at line 45 of file SimulationConfiguration.hpp.
std::string sparta::app::DefaultValues::auto_summary_default = "off" |
Set the default value for the auto_summary flag. Values: "on" or "normal" – write summary after simulation run "verbose" – write summary after simulation run with description "off" – do nothing
Definition at line 84 of file SimulationConfiguration.hpp.
std::string sparta::app::DefaultValues::inst_counter = "" |
Default name of instruction counter used to run by icount and instruction-based debug triggers
Definition at line 69 of file SimulationConfiguration.hpp.
bool sparta::app::DefaultValues::non_empty_arch_arg_required = false |
is an –arch option required for command line parsing to succeed?
Definition at line 57 of file SimulationConfiguration.hpp.
std::list<ParameterTemplate> sparta::app::DefaultValues::other_meta_params = {} |
Meta-parameters. Simulators can provide a list of parameter templates which will be added to the meta parameters set.
Definition at line 75 of file SimulationConfiguration.hpp.
std::pair<std::string, RetiredInstPathStrictness> sparta::app::DefaultValues::path_to_retired_inst_counter |
Definition at line 100 of file SimulationConfiguration.hpp.
std::string sparta::app::DefaultValues::run_time_clock = "" |
Default name of clock used to run by cycles (-r) if not overridden by users
Definition at line 63 of file SimulationConfiguration.hpp.