/gem5/configs/common/ |
H A D | SimpleOpts.py | 52 def add_option(*args, **kwargs): 56 if (parser.has_option(args[0]) or 57 (len(args) > 1 and parser.has_option(args[1])) ): 58 m5.fatal("Duplicate option: %s" % str(args)) 63 parser.add_option(*args, **kwargs) 71 def set_usage(*args, **kwargs): 72 parser.set_usage(*args, **kwargs) 74 def print_help(*args, **kwargs): 75 parser.print_help(*args, **kwarg [all...] |
H A D | cpu2000.py | 85 if not hasattr(self.__class__, 'args'): 86 self.args = [] 138 # set up default args for Process object 140 process_args['cmd'] = [ self.name ] + self.args 210 self.args = [ '-scanfile', 'c756hel.in', 221 self.args = [ '-scanfile', 'c756hel.in', 232 self.args = ['-scanfile', 'c756hel.in', 245 self.args = [ '-scanfile', 'c756hel.in', 259 self.args = [ '-scanfile', 'c756hel.in', 310 self.args 402 args = [ 'chair.control.kajiya', 'chair.camera', 'chair.surfaces', variable in class:eon_kajiya 408 args = [ 'chair.control.cook', 'chair.camera', 'chair.surfaces', variable in class:eon_cook 413 args = [ 'chair.control.rushmeier', 'chair.camera', 'chair.surfaces', variable in class:eon_rushmeier 560 args = [ 'mcf.in' ] variable in class:mcf 567 args = [ '2.1.dict', '-batch' ] variable in class:parser 724 args = [ 'net.in', 'arch.in', 'place.out', 'dum.out', '-nodisp', variable in class:vpr_place 731 args = [ 'net.in', 'arch.in', 'place.in', 'route.out', '-nodisp', variable in class:vpr_route [all...] |
/gem5/src/kern/linux/ |
H A D | printk.hh | 39 void Printk(std::stringstream &out, Arguments args);
|
H A D | printk.cc | 46 Printk(stringstream &out, Arguments args) argument 48 char *p = (char *)args++; 152 out << (int64_t)args; 154 out << (int32_t)args; 157 out << (uint64_t)args; 159 out << (uint32_t)args; 170 ++args; 175 const char *s = (char *)args; 185 ++args; 195 num = (uint64_t)args; [all...] |
/gem5/util/ |
H A D | minorview.py | 74 args = parser.parse_args(sys.argv[1:]) variable 76 model = BlobModel(unitNamePrefix=args.prefix) 78 if args.picture and os.access(args.picture, os.O_RDONLY): 79 model.load_picture(args.picture) 81 parser.error('Can\'t read picture file: ' + args.picture) 86 defaultEventFile=args.eventFile, 87 defaultPictureFile=args.picture) 93 if args.mini_views: 98 if args [all...] |
H A D | memtest-soak.py | 55 (options, args) = parser.parse_args() 57 if len(args) != 1: 61 gem5_binary = args[0]
|
/gem5/src/mem/slicc/ast/ |
H A D | AST.py | 46 def warning(self, message, *args): 47 self.location.warning(message, *args) 49 def error(self, message, *args): 50 self.location.error(message, *args) 52 def embedError(self, message, *args): 53 if args: 54 message = message % args
|
/gem5/src/sim/ |
H A D | arguments.hh | 67 Arguments(const Arguments &args) argument 68 : tc(args.tc), number(args.number), data(args.data) {} 73 const Arguments &operator=(const Arguments &args) { argument 74 if (this != &args) { 75 tc = args.tc; 76 number = args.number; 77 data = args.data; 94 Arguments args local 107 Arguments args = *this; local [all...] |
/gem5/configs/example/arm/ |
H A D | starter_fs.py | 94 def create(args): 97 if args.script and not os.path.isfile(args.script): 98 print("Error: Bootscript %s does not exist" % args.script) 101 cpu_class = cpu_types[args.cpu][0] 107 args.mem_size, 109 kernel=SysPaths.binary(args.kernel), 110 readfile=args.script) 112 MemConfig.config_mem(args, system) 122 PciVirtIO(vio=VirtIOBlock(image=create_cow_image(args [all...] |
H A D | starter_se.py | 89 def __init__(self, args, **kwargs): 113 args.num_cores, 114 args.cpu_freq, "1.2V", 115 *cpu_types[args.cpu]) 157 def create(args): 160 system = SimpleSeSystem(args) 165 system.mem_ranges = [ AddrRange(start=0, size=args.mem_size) ] 168 MemConfig.config_mem(args, system) 172 processes = get_processes(args.commands_to_run) 173 if len(processes) != args [all...] |
/gem5/src/base/ |
H A D | cprintf.hh | 138 ccprintf(cp::Print &print, const T &value, const Args &...args) argument 142 ccprintf(print, args...); 147 ccprintf(std::ostream &stream, const char *format, const Args &...args) argument 151 ccprintf(print, args...); 156 cprintf(const char *format, const Args &...args) argument 158 ccprintf(std::cout, format, args...); 162 csprintf(const char *format, const Args &...args) argument 165 ccprintf(stream, format, args...); 175 ccprintf(std::ostream &stream, const std::string &format, const Args &...args) argument 177 ccprintf(stream, format.c_str(), args 181 cprintf(const std::string &format, const Args &...args) argument 187 csprintf(const std::string &format, const Args &...args) argument [all...] |
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_list_tests_unittest.py | 117 def Run(args): 120 return gtest_test_utils.Subprocess([EXE_PATH] + args, 153 args = [flag] 156 args += [other_flag] 158 output = Run(args) 165 (LIST_TESTS_FLAG, flag_expression, ' '.join(args), output, 171 (LIST_TESTS_FLAG, flag_expression, ' '.join(args), output)))
|
/gem5/tests/gem5/memory/ |
H A D | simple-run.py | 48 args = parser.parse_args() variable 60 if args.bandwidth: 61 bandwidth = args.bandwidth 62 if args.latency: 63 latency = args.latency 64 if args.latency_var: 65 latency_var = args.latency_var
|
/gem5/tests/ |
H A D | tests.py | 77 def _create_formatter(args): 78 formatter = formatters[args.format] 80 "fout" : args.output, 81 "verbose" : args.verbose 86 "translate_names" : not args.no_junit_xlate_names, 124 def _list_tests(args): 126 ( parse_test_filter(f) for f in args.list_filter ): 129 ruby_protocol=args.ruby_protocol, 130 gpu_isa=args.gpu_isa): 178 def _run_tests(args) [all...] |
/gem5/util/plot_dram/ |
H A D | lowp_dram_sweep_plot.py | 66 args = parser.parse_args() 67 if not os.path.isfile(args.statsfile): 68 exit('Error! File not found: %s' % args.statsfile) 69 if not os.path.isdir(args.outdir): 70 os.mkdir(args.outdir) 72 bank_util_list = args.bankutils.strip().split() 73 seqbyte_list = args.seqbytes.strip().split() 74 delays = args.delays.strip().split() 75 plotter.plotLowPStates(args.outdir + '/', args [all...] |
/gem5/util/systemc/systemc_within_gem5/systemc_simple_object/ |
H A D | config.py | 43 args = parser.parse_args() variable 46 printer.prefix = args.prefix 50 feeder.delay = args.delay 51 feeder.strings = args.word
|
/gem5/tests/gem5/fs/linux/arm/ |
H A D | test.py | 91 args = [ joinpath(config.base_dir, 'tests', 'configs', name + '.py') ] variable 96 config_args=args, 103 args = [ joinpath(config.base_dir, 'tests', 'configs', name + '.py') ] variable 108 config_args=args,
|
/gem5/util/maint/ |
H A D | show_changes_by_file.py | 41 def __init__(self, default_factory=None, *args, **kwargs): 42 super(OrderedDefaultDict, self).__init__(*args, **kwargs) 99 args = parser.parse_args() 101 odd = diff_files(args.upstream, args.feature, paths=args.paths) 108 sha = cl_hash(args.upstream, args.feature, path)
|
/gem5/src/mem/slicc/ |
H A D | util.py | 66 def warning(self, message, *args): 69 if args: 70 message = message % args 74 def error(self, message, *args): 75 if args: 76 message = message % args
|
H A D | main.py | 49 def nprint(format, *args): 52 def eprint(format, *args): 53 if args: 54 format = format % args 58 def main(args=None): 76 opts,files = parser.parse_args(args=args)
|
/gem5/src/python/m5/util/ |
H A D | __init__.py | 60 def panic(fmt, *args): 61 print('panic:', fmt % args, file=sys.stderr) 67 def fatal(fmt, *args): 68 print('fatal:', fmt % args, file=sys.stderr) 74 def warn(fmt, *args): 75 print('warn:', fmt % args, file=sys.stderr) 79 def inform(fmt, *args): 80 print('info:', fmt % args, file=sys.stdout) 83 def __call__(cls, *args, **kwargs): 87 cls._instance = super(Singleton, cls).__call__(*args, **kwarg [all...] |
H A D | pybind.py | 61 def __init__(self, name, cxx_name=None, args=None, 65 self.args = args 82 if self.args: 91 arguments.extend(list([ get_arg_decl(a) for a in self.args ]))
|
/gem5/util/stats/ |
H A D | stats.py | 37 <command> [command args] 57 opts, args = getopt.getopt(list, flags) 61 return opts, args 66 def commands(options, command, args): 68 if len(args) == 0: raise CommandException 73 if args[0] == 'drop': 74 if len(args) > 2: raise CommandException 77 if len(args) == 2 and args[1] == 'init': 84 if args[ 481 args = args[1:] variable in class:Options [all...] |
/gem5/configs/dram/ |
H A D | low_power_sweep.py | 87 args = parser.parse_args() variable 107 args.mem_channels = 1 108 args.external_memory_system = 0 109 args.tlm_memory = 0 110 args.elastic_trace_en = 0 111 MemConfig.config_mem(args, system) 122 if args.addr_map == 0: 124 elif args.addr_map == 1: 129 system.mem_ctrls[0].page_policy = args.page_policy 170 itt_max_str = args [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_kwargs_and_defaults.cpp | 37 m.def("args_function", [](py::args args) -> py::tuple { 38 return std::move(args); 40 m.def("args_kwargs_function", [](py::args args, py::kwargs kwargs) { 41 return py::make_tuple(args, kwargs); 45 m.def("mixed_plus_args", [](int i, double j, py::args args) { 46 return py::make_tuple(i, j, args); 51 auto mixed_plus_both = [](int i, double j, py::args arg [all...] |