/gem5/util/ |
H A D | on-chip-network-power-area.py | 58 # Parse gem5 config.ini file for the configuration parameters related to 61 config = ConfigParser() 62 if not config.read(config_file): 63 print("ERROR: config file '", config_file, "' not found") 66 if not config.has_section("system.ruby.network"): 70 if config.get("system.ruby.network", "type") != "GarnetNetwork_d" : 74 number_of_virtual_networks = config.getint("system.ruby.network", 76 vcs_per_vnet = config.getint("system.ruby.network", "vcs_per_vnet") 78 buffers_per_data_vc = config.getint("system.ruby.network", 80 buffers_per_control_vc = config [all...] |
H A D | checkpoint_aggregator.py | 64 config = myCP() 65 config.readfp(open(cpts[i] + "/m5.cpt")) 67 for sec in config.sections(): 72 items = config.items(sec) 85 tick = config.getint(sec, "curTick") 91 for item in config.items(sec): 98 pages = int(config.get("system", "pagePtr"))
|
/gem5/tests/gem5/learning_gem5/ |
H A D | part1_test.py | 31 config_path = joinpath(config.base_dir, 'configs', 'learning_gem5', 'part1') 36 config=joinpath(config_path, 'simple.py'), variable 44 config=joinpath(config_path, 'two_level.py'), variable
|
H A D | part3_test.py | 35 config_path = joinpath(config.base_dir, 'configs', 'learning_gem5', 'part3') 41 config=joinpath(config_path, 'simple_ruby.py'), variable 50 config=joinpath(config_path, 'ruby_test.py'), variable
|
H A D | part2_test.py | 31 config_path = joinpath(config.base_dir, 'configs', 'learning_gem5', 'part2') 38 config=joinpath(config_path, 'run_simple.py'), variable 46 config=joinpath(config_path, 'hello_goodbye.py'), variable 54 config=joinpath(config_path, 'simple_memobj.py'), variable 62 config=joinpath(config_path, 'simple_cache.py'), variable
|
/gem5/ext/testlib/ |
H A D | main.py | 32 import config 53 verbosity=config.config.verbose+log.LogLevel.Info 65 test_schedule, config.config.result_path) 90 return getattr(config.config, 91 config.StorePositionalTagsAction.position_kword) 97 cfg = config.config [all...] |
H A D | __init__.py | 36 from .config import *
|
/gem5/ext/dsent/libutil/ |
H A D | Config.h | 32 // Load the config from file 33 void readFile(const char *filename_, std::map<String, String> &config);
|
H A D | Calculator.h | 90 const std::map<String, String> &config, 98 const std::map<String, String> &config, 102 const std::map<String, String> &config, 106 const std::map<String, String> &config, 111 const std::map<String, String> &config,
|
H A D | Calculator.cc | 48 const map<String, String> &config, 75 double v = expr(ist, false, config, ms_model); 82 double v = expr(ist, false, config, ms_model); 89 expr(ist, false, config, ms_model); 177 const map<String, String> &config, 196 v = expr(ist_, true, config, ms_model); 205 v = getEnvVar(m_value_string_, config, ms_model); 209 return -prim(ist_, true, config, ms_model); 211 v = expr(ist_, true, config, ms_model); 221 const map<String, String> &config, 47 evaluateString(const String& str_, const map<String, String> &config, DSENT::Model *ms_model, map<string, double> &outputs) argument 176 prim(istringstream& ist_, bool is_get_, const map<String, String> &config, DSENT::Model *ms_model) argument 220 term(istringstream& ist_, bool is_get_, const map<String, String> &config, DSENT::Model *ms_model) argument 245 expr(istringstream& ist_, bool is_get_, const map<String, String> &config, DSENT::Model *ms_model) argument 267 getEnvVar(const String& var_name_, const map<String, String> &config, DSENT::Model *ms_model) const argument [all...] |
/gem5/tests/gem5/memory/ |
H A D | test.py | 38 config=joinpath(getcwd(), 'simple-run.py'), variable 58 config=joinpath(getcwd(), 'simple-run.py'), variable 66 config=joinpath(getcwd(), 'memtest-run.py'), variable
|
/gem5/tests/ |
H A D | main.py | 20 import testlib.config as config 23 config.basedir = helper.absdirpath(__file__)
|
/gem5/tests/gem5/fs/linux/arm/ |
H A D | test.py | 91 args = [ joinpath(config.base_dir, 'tests', 'configs', name + '.py') ] 95 config=joinpath(path, 'run.py'), variable 103 args = [ joinpath(config.base_dir, 'tests', 'configs', name + '.py') ] 107 config=joinpath(path, 'run.py'), variable
|
H A D | run.py | 61 config = sys.argv[1] variable 70 exec(compile(open(config).read(), config, 'exec'))
|
/gem5/src/cpu/kvm/ |
H A D | perfevent.hh | 48 #include "config/have_perf_attr_exclude_host.hh" 66 * The 'config' field has different meanings depending on the type 74 * @param config Counter configuration 76 PerfKvmCounterConfig(uint32_t type, uint64_t config); 176 * @param config Counter configuration 179 PerfKvmCounter(PerfKvmCounterConfig &config, pid_t tid); 184 * @param config Counter configuration 188 PerfKvmCounter(PerfKvmCounterConfig &config, 203 * @param config Counter configuration 206 void attach(PerfKvmCounterConfig &config, pid_ argument 221 attach(PerfKvmCounterConfig &config, pid_t tid, const PerfKvmCounter &parent) argument [all...] |
H A D | perfevent.cc | 56 PerfKvmCounterConfig::PerfKvmCounterConfig(uint32_t type, uint64_t config) argument 62 attr.config = config; 70 PerfKvmCounter::PerfKvmCounter(PerfKvmCounterConfig &config, pid_t tid) argument 73 attach(config, tid, -1); 76 PerfKvmCounter::PerfKvmCounter(PerfKvmCounterConfig &config, argument 80 attach(config, tid, parent); 161 PerfKvmCounter::attach(PerfKvmCounterConfig &config, argument 167 &config.attr, tid,
|
/gem5/tests/gem5/m5_util/ |
H A D | test_exit.py | 51 config=os.path.join(config.base_dir, 'configs', 'example','se.py'), variable
|
/gem5/src/dev/pci/ |
H A D | device.cc | 89 config.vendor = htole(p->VendorID); 90 config.device = htole(p->DeviceID); 91 config.command = htole(p->Command); 92 config.status = htole(p->Status); 93 config.revision = htole(p->Revision); 94 config.progIF = htole(p->ProgIF); 95 config.subClassCode = htole(p->SubClassCode); 96 config.classCode = htole(p->ClassCode); 97 config.cacheLineSize = htole(p->CacheLineSize); 98 config [all...] |
/gem5/ext/dsent/ |
H A D | DSENT.h | 60 std::map<String, String> &config); 62 void finalize(std::map<String, String> &config, 65 void run(const std::map<String, String> &config, Model *ms_model,
|
/gem5/ext/sst/ |
H A D | Makefile | 5 LDFLAGS=-shared -fno-common ${shell pkg-config ${SST_VERSION} --libs} -L../../build/ARM 6 CXXFLAGS=-std=c++0x -g -O2 -fPIC ${shell pkg-config ${SST_VERSION} --cflags} ${shell python-config --includes} -I../../build/ARM
|
/gem5/tests/gem5/hello_se/ |
H A D | test_hello_se.py | 58 config=joinpath(config.base_dir, 'configs', 'example','se.py'), variable
|
/gem5/tests/legacy-configs/ |
H A D | run.py | 45 # Add the normal gem5 config path to system path. 78 parser.add_argument('--config', 81 help='A config file to initialize the system with.'\ 87 for config in args.config: 88 exec(compile(open(config).read(), config, 'exec')) 112 # or somewhere in their `test.py` config.
|
/gem5/tests/gem5/ |
H A D | suite.py | 36 from testlib.config import constants, config 41 config, 53 The generated TestSuite will run gem5 with the provided config and 60 :param config: The config to give gem5. 61 :param config_args: A list of arguments to pass to the given config. 67 that would normally go before the config path.) 98 _create_test_run_gem5(config, config_args, gem5_args), 126 def _create_test_run_gem5(config, config_arg [all...] |
/gem5/src/dev/virtio/ |
H A D | console.cc | 55 config.cols = 80; 56 config.rows = 24; 69 cfg_out.rows = htov_legacy(config.rows); 70 cfg_out.cols = htov_legacy(config.cols);
|
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_ver.cpp | 125 static Type SC_CONCAT_UNDERSCORE_( Name, config ); \ 128 SC_CONCAT_UNDERSCORE_( Name, config ) = Name; \ 129 } else if( SC_CONCAT_UNDERSCORE_( Name, config ) != Name ) { \
|