/gem5/configs/ruby/ |
H A D | MOESI_CMP_directory.py | 63 def create_system(options, full_system, system, dma_ports, bootmem, 84 block_size_bits = int(math.log(options.cacheline_size, 2)) 86 for i in range(options.num_cpus): 90 l1i_cache = L1Cache(size = options.l1i_size, 91 assoc = options.l1i_assoc, 94 l1d_cache = L1Cache(size = options.l1d_size, 95 assoc = options.l1d_assoc, 113 send_evictions=send_evicts(options), 114 transitions_per_cycle=options.ports, 144 l2_bits = int(math.log(options [all...] |
H A D | MESI_Two_Level.py | 46 def create_system(options, full_system, system, dma_ports, bootmem, 67 l2_bits = int(math.log(options.num_l2caches, 2)) 68 block_size_bits = int(math.log(options.cacheline_size, 2)) 70 for i in range(options.num_cpus): 74 l1i_cache = L1Cache(size = options.l1i_size, 75 assoc = options.l1i_assoc, 78 l1d_cache = L1Cache(size = options.l1d_size, 79 assoc = options.l1d_assoc, 100 send_evictions = send_evicts(options), 104 transitions_per_cycle = options [all...] |
H A D | MOESI_CMP_token.py | 53 def create_system(options, full_system, system, dma_ports, bootmem, 63 n_tokens = options.num_cpus + 1 80 l2_bits = int(math.log(options.num_l2caches, 2)) 81 block_size_bits = int(math.log(options.cacheline_size, 2)) 83 for i in range(options.num_cpus): 87 l1i_cache = L1Cache(size = options.l1i_size, 88 assoc = options.l1i_assoc, 90 l1d_cache = L1Cache(size = options.l1d_size, 91 assoc = options.l1d_assoc, 110 retry_threshold=options [all...] |
H A D | MI_example.py | 45 def create_system(options, full_system, system, dma_ports, bootmem, 65 block_size_bits = int(math.log(options.cacheline_size, 2)) 67 for i in range(options.num_cpus): 73 cache = L1Cache(size = options.l1d_size, 74 assoc = options.l1d_assoc, 92 send_evictions=send_evicts(options), 93 transitions_per_cycle=options.ports, 119 assert(phys_mem_size % options.num_dirs == 0) 120 mem_module_size = phys_mem_size / options.num_dirs 130 options, bootme [all...] |
/gem5/configs/topologies/ |
H A D | BaseTopology.py | 44 def makeTopology(self, options, network, IntLink, ExtLink, Router): 54 def registerTopology(self, options):
|
H A D | Mesh_XY.py | 55 def makeTopology(self, options, network, IntLink, ExtLink, Router): 58 num_routers = options.num_cpus 59 num_rows = options.mesh_rows 63 link_latency = options.link_latency # used by simple and garnet 64 router_latency = options.router_latency # only used by garnet 181 def registerTopology(self, options): 182 for i in xrange(options.num_cpus): 184 MemorySize(options.mem_size) / options.num_cpus, i)
|
H A D | Crossbar.py | 40 def makeTopology(self, options, network, IntLink, ExtLink, Router): 44 link_latency = options.link_latency # used by simple and garnet 45 router_latency = options.router_latency # only used by garnet
|
H A D | Pt2Pt.py | 45 def makeTopology(self, options, network, IntLink, ExtLink, Router): 50 link_latency = options.link_latency # used by simple and garnet 51 router_latency = options.router_latency # only used by garnet
|
/gem5/src/python/m5/ |
H A D | simulate.py | 78 from m5 import options 95 if options.dump_config: 96 ini_file = open(os.path.join(options.outdir, options.dump_config), 'w') 102 if options.json_config: 106 os.path.join(options.outdir, options.json_config), 'w') 113 do_dot(root, options.outdir, options.dot_config) 114 do_ruby_dot(root, options [all...] |
/gem5/configs/common/ |
H A D | MemConfig.py | 99 options. This function is invoked multiple times in config_mem function 147 def config_mem(options, system): 149 Create the memory controllers based on the options and attach them. 158 # Mandatory options 159 opt_mem_type = options.mem_type 160 opt_mem_channels = options.mem_channels 162 # Optional options 163 opt_tlm_memory = getattr(options, "tlm_memory", None) 164 opt_external_memory_system = getattr(options, "external_memory_system", 166 opt_elastic_trace_en = getattr(options, "elastic_trace_e [all...] |
H A D | CpuConfig.py | 105 def config_etrace(cpu_cls, cpu_list, options): 114 instFetchTraceFile = options.inst_trace_file, 115 dataDepTraceFile = options.data_trace_file,
|
/gem5/configs/example/arm/ |
H A D | fs_power.py | 98 options = parser.parse_args() 100 if options.cpu_type != "timing": 103 root = bL.build(options) 121 bL.instantiate(options)
|
/gem5/ext/mcpat/regression/ |
H A D | regression.py | 90 if options.verbose: 98 if options.cleanup: 99 if options.verbose: 128 if options.verbose: 157 (options, args) = optionsparser.parse_args() 159 if not os.path.exists(mcpat_binary) and not options.build: 163 if options.build: 183 if options.maketest: 215 if is_valid_test_directory(rootdir) or options.force: 230 if options [all...] |
/gem5/util/stats/ |
H A D | dbinit.py | 32 def __init__(self, options): 33 self.name = options.db 34 self.host = options.host 35 self.user = options.user 36 self.passwd = options.passwd
|
/gem5/ext/googletest/googlemock/scripts/ |
H A D | upload.py | 19 Usage summary: upload.py [options] [-- diff_options] 21 Diff options are passed to the diff command of the underlying system. 392 parser = optparse.OptionParser(usage="%prog [options] [-- diff_options]") 397 group = parser.add_option_group("Logging options") 406 group = parser.add_option_group("Review server options") 422 group = parser.add_option_group("Issue options") 437 # Upload options 438 group = parser.add_option_group("Patch options") 458 def GetRpcServer(options): 469 email = options [all...] |
/gem5/ext/googletest/googletest/scripts/ |
H A D | upload.py | 19 Usage summary: upload.py [options] [-- diff_options] 21 Diff options are passed to the diff command of the underlying system. 392 parser = optparse.OptionParser(usage="%prog [options] [-- diff_options]") 397 group = parser.add_option_group("Logging options") 406 group = parser.add_option_group("Review server options") 422 group = parser.add_option_group("Issue options") 437 # Upload options 438 group = parser.add_option_group("Patch options") 458 def GetRpcServer(options): 469 email = options [all...] |
/gem5/util/ |
H A D | qdo | 50 usage = "%prog [options] command [command arguments]" 68 (options, cmd) = optparser.parse_args() 77 #if not options.job_name: 78 # options.job_name = cmd[0] 110 self.expect('\$ ', options.oarsub_timeout) 170 if options.job_name: 171 shell_cmd += ' -n "%s"' % options.job_name 172 if options.dest_queue: 173 shell_cmd += ' -q ' + options.dest_queue 210 if options [all...] |
H A D | checkpoint_aggregator.py | 149 parser = ArgumentParser("usage: %prog [options] <directory names which "\ 159 options = parser.parse_args() variable 160 print options.cpts, len(options.cpts) 161 if len(options.cpts) <= 1: 165 aggregate(options.output_dir, options.cpts, options.no_compress, 166 options.memory_size)
|
/gem5/configs/example/ |
H A D | memtest.py | 112 (options, args) = parser.parse_args() 134 # Start by parsing the command line options and do some basic sanity 136 if options.random: 149 cachespec = [int(x) for x in options.caches.split(':')] 150 testerspec = [int(x) for x in options.testers.split(':')] 188 if options.blocking: 220 proto_tester = MemTest(max_loads = options.maxloads, 221 percent_functional = options.functional, 222 percent_uncacheable = options.uncacheable, 223 progress_interval = options [all...] |
H A D | memcheck.py | 111 (options, args) = parser.parse_args() 117 # Start by parsing the command line options and do some basic sanity 119 if options.random: 128 cachespec = [int(x) for x in options.caches.split(':')] 129 testerspec = [int(x) for x in options.testers.split(':')] 173 if options.blocking: 178 if options.prefetchers: 180 elif options.stridepref: 226 system.clk_domain = SrcClockDomain(clock = options.sys_clock, 306 if options [all...] |
/gem5/src/python/m5/util/ |
H A D | jobfile.py | 129 def __init__(self, options): 132 config = options[0]._config 133 for opt in options: 136 "All options are not from the same Configuration") 139 self._groups = [ opt._group for opt in options ] 140 self._options = options 172 for opt in options: 195 print('options: %s' % [ o.name for o in self._options ]) 277 def options(self): member in class:Group 290 print('options 320 def options(self, groups=None, checkpoint=False): member in class:Configuration [all...] |
/gem5/util/cpt_upgraders/ |
H A D | isa-is-simobject.py | 51 for (sec, options) in isa_sections: 62 for (key, value) in options:
|
H A D | arm-hdlcd-upgrade.py | 78 options = {} 80 options[new] = cpt.get(sec, old) 84 for key, value in options.items():
|
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/sc_join/test03/ |
H A D | test03.cpp | 58 sc_spawn_options options; local 60 options.set_sensitivity(&m_clk.pos()); 67 sc_gen_unique_name("pipe"), &options ) );
|
/gem5/configs/dram/ |
H A D | lat_mem_rd.py | 95 (options, args) = parser.parse_args() 109 mem_range = AddrRange(options.mem_size) 115 # currently not exposed as command-line options, set here for now 116 options.mem_channels = 1 117 options.mem_ranks = 1 118 options.external_memory_system = 0 119 options.tlm_memory = 0 120 options.elastic_trace_en = 0 122 MemConfig.config_mem(options, system) 137 cfg_file_name = os.path.join(m5.options [all...] |