Searched refs:command (Results 1 - 25 of 48) sorted by relevance

12

/gem5/util/stats/
H A Dstats.py37 <command> [command args]
49 database <command> Where command is drop, init, or clean
66 def commands(options, command, args):
67 if command == 'database':
122 if command == 'runs':
133 if command == 'stats':
143 if command == 'formulas':
153 if command
480 command = args[0] variable in class:Options
[all...]
/gem5/ext/googletest/googletest/test/
H A Dgtest_throw_on_failure_test.py35 Google Test) with different environments and command line flags.
46 # The command line flag for enabling/disabling the throw-on-failure mode.
70 def Run(command):
71 """Runs a command; returns True/False if its exit code is/isn't 0."""
73 print('Running "%s". . .' % ' '.join(command))
74 p = gtest_test_utils.Subprocess(command)
109 command = [EXE_PATH]
111 command.append(flag)
118 failed = not Run(command)
124 (THROW_ON_FAILURE, env_var_value_msg, ' '.join(command),
[all...]
H A Dgtest_break_on_failure_unittest.py38 Google Test) with different environments and command line flags.
55 # The command line flag for enabling/disabling the break-on-failure mode.
80 def Run(command):
81 """Runs a command; returns 1 if it was killed by a signal, or 0 otherwise."""
83 p = gtest_test_utils.Subprocess(command, env=environ)
126 command = [EXE_PATH]
128 command.append(flag)
135 has_seg_fault = Run(command)
140 (BREAK_ON_FAILURE_ENV_VAR, env_var_value_msg, ' '.join(command),
H A Dgtest_uninitialized_test.py54 def TestExitCodeAndOutput(command):
55 """Runs the given command and verifies its exit code and output."""
57 # Verifies that 'command' exits with code 1.
58 p = gtest_test_utils.Subprocess(command)
H A Dgtest_xml_output_unittest.py235 command = [GTEST_PROGRAM_PATH,
238 p = gtest_test_utils.Subprocess(command)
249 % (command, p.exit_code, 1))
272 command = ([gtest_prog_path, '%s=xml:%s' % (GTEST_OUTPUT_FLAG, xml_path)] +
274 p = gtest_test_utils.Subprocess(command)
283 % (command, p.exit_code, expected_exit_code))
H A Dgtest_help_test.py87 flag: the command-line flag to pass to gtest_help_test_, or None.
91 command = [PROGRAM_PATH]
93 command = [PROGRAM_PATH, flag]
94 child = gtest_test_utils.Subprocess(command)
H A Dgtest_test_utils.py101 # The command line flag overrides the environment variable.
191 exit_code: the result value of os.system(command).
208 def __init__(self, command, working_dir=None, capture_stderr=True, env=None):
209 """Changes into a specified directory, if provided, and executes a command.
214 command: The command to run, in the form of sys.argv.
245 p = subprocess.Popen(command,
275 p = popen2.Popen4(command)
277 p = popen2.Popen3(command)
H A Dgtest_xml_outfiles_test.py100 command = [gtest_prog_path, "--gtest_output=xml:%s" % self.output_dir_]
101 p = gtest_test_utils.Subprocess(command,
/gem5/util/
H A Dgem5img.py59 # Run an external command.
60 def runCommand(command, inputVal=''):
61 print "%>", ' '.join(command)
62 proc = Popen(command, stdin=PIPE)
66 # Run an external command and capture its output. This is intended to be
68 def getOutput(command, inputVal=''):
71 print "%>", ' '.join(command)
72 proc = Popen(command, stderr=STDOUT,
77 # Run a command as root, using sudo if necessary.
78 def runPriv(command, inputVa
363 command = commands[name] variable
370 command = commands[argv[1]] variable
[all...]
/gem5/src/dev/arm/
H A Dgic_v3_its.cc346 CommandEntry command; local
348 // Reading the command from CMDQ
349 readCommand(yield, command);
351 processCommand(yield, command);
360 ItsCommand::readCommand(Yield &yield, CommandEntry &command) argument
362 // read the command pointed by GITS_CREADR
366 doRead(yield, cmd_addr, &command, sizeof(command));
369 commandName(command.type), cmd_addr);
371 command
375 processCommand(Yield &yield, CommandEntry &command) argument
388 clear(Yield &yield, CommandEntry &command) argument
423 discard(Yield &yield, CommandEntry &command) argument
462 doInt(Yield &yield, CommandEntry &command) argument
497 inv(Yield &yield, CommandEntry &command) argument
531 invall(Yield &yield, CommandEntry &command) argument
551 mapc(Yield &yield, CommandEntry &command) argument
568 mapd(Yield &yield, CommandEntry &command) argument
584 mapi(Yield &yield, CommandEntry &command) argument
618 mapti(Yield &yield, CommandEntry &command) argument
654 movall(Yield &yield, CommandEntry &command) argument
668 movi(Yield &yield, CommandEntry &command) argument
729 sync(Yield &yield, CommandEntry &command) argument
735 vinvall(Yield &yield, CommandEntry &command) argument
741 vmapi(Yield &yield, CommandEntry &command) argument
747 vmapp(Yield &yield, CommandEntry &command) argument
753 vmapti(Yield &yield, CommandEntry &command) argument
759 vmovi(Yield &yield, CommandEntry &command) argument
765 vmovp(Yield &yield, CommandEntry &command) argument
771 vsync(Yield &yield, CommandEntry &command) argument
[all...]
H A Dgic_v3_its.hh241 * passed to the ITS via the MAPD command and is stored in the
415 * An ItsCommand is created whenever there is a new command in the command
416 * queue. Only one command can be executed per time.
417 * main will firstly read the command from memory and then it will process
466 * the command (like the name) and the function object implementing
467 * the command.
490 void readCommand(Yield &yield, CommandEntry &command);
491 void processCommand(Yield &yield, CommandEntry &command);
494 void clear(Yield &yield, CommandEntry &command);
515 idOutOfRange(CommandEntry &command, DTE dte) const argument
[all...]
H A Dhdlcd.cc82 command(0),
142 SERIALIZE_SCALAR(command);
179 UNSERIALIZE_SCALAR(command);
304 case Command: return command;
403 if (new_command.enable != command.enable) {
413 command = new_command;
/gem5/ext/googletest/googletest/scripts/
H A Dcommon.py46 def GetCommandOutput(command):
47 """Runs the shell command and returns its stdout as a list of lines."""
49 f = os.popen(command, 'r')
H A Drelease_docs.py133 command = 'svn cp %s %s%s' % (f, self.version_prefix, f)
134 print command
135 os.system(command)
/gem5/src/dev/x86/
H A Di8237.cc98 panic("Write to i8237 command register unimplemented.\n");
103 uint8_t command = pkt->getLE<uint8_t>(); local
104 uint8_t select = bits(command, 1, 0);
105 uint8_t bitVal = bits(command, 2);
/gem5/tests/gem5/
H A Dsuite.py154 command = [
160 command.extend(_gem5_args)
161 command.append(config)
163 command.extend(config_args)
164 returncode.value = log_call(params.log, command)
H A Dfixture.py136 command = [
157 command.extend(self.targets)
159 command.extend(self.options)
160 log_call(log.test_log, command)
196 command = ['make', '-C', self.directory]
197 command.extend([target.target for target in targets])
198 log_call(command)
/gem5/ext/pybind11/
H A Dsetup.py6 from distutils.command.install_headers import install_headers
/gem5/src/dev/storage/
H A Dide_ctrl.cc142 ioEnabled = (config.command & htole(PCI_CMD_IOSE));
143 bmEnabled = (config.command & htole(PCI_CMD_BME));
171 channel->bmiRegs.command.startStop = 0;
330 /* Trap command register writes and enable IO/BM as appropriate as well as
359 DPRINTF(IdeCtrl, "Writing to PCI Command val: %#x\n", config.command);
360 ioEnabled = (config.command & htole(PCI_CMD_IOSE));
361 bmEnabled = (config.command & htole(PCI_CMD_BME));
415 BMICommandReg oldVal = bmiRegs.command;
439 bmiRegs.command = newVal;
599 uint8_t command local
641 uint8_t command; local
[all...]
/gem5/src/dev/pci/
H A Dcopy_engine.cc141 if (cr.command.start_dma()) {
148 } else if (cr.command.append_dma()) {
155 } else if (cr.command.reset_dma()) {
162 } else if (cr.command.resume_dma() || cr.command.abort_dma() ||
163 cr.command.suspend_dma())
165 cr.command(0);
267 pkt->setLE<uint32_t>(cr.command());
405 cr.command(pkt->getLE<uint8_t>());
475 if ((curDmaDesc->command
[all...]
H A Dcopy_engine_defs.hh69 uint32_t command; member in struct:CopyEngineReg::DmaDesc
176 CHANCMD command; member in struct:CopyEngineReg::ChanRegs
205 paramOut(cp, "command", command._data);
215 paramIn(cp, "command", command._data);
/gem5/util/batch/
H A Dbatch.py134 #cmd = [ 'ssh', '-x', self.oarhost, '"cd %s; %s"' % (os.getcwd(), self.command) ]
135 self.command = ' '.join(self.cmd)
137 print "command: [%s]" % self.command
145 pstdin, pstdout = os.popen4(self.command)
234 self.command = ' '.join(self.cmd + [ self.script ])
244 self.command = ' '.join(cmd)
/gem5/ext/sst/
H A Dgem5.cc235 const char **command = m5MainCommands; local
237 // evaluate each command in the m5MainCommands array (basically a
239 while (*command) {
240 result = PyRun_String(*command, Py_file_input, mainDict, mainDict);
247 command++;
/gem5/src/sim/
H A Dinit.cc297 const char **command = m5MainCommands; local
299 // evaluate each command in the m5MainCommands array (basically a
301 while (*command) {
302 result = PyRun_String(*command, Py_file_input, dict, dict);
309 command++;
/gem5/src/systemc/ext/tlm_core/2/generic_payload/
H A Dgp.hh157 // command.
181 void set_command(const tlm_command command) { m_command = command; } argument
283 /* - m_byte_enable_length : For a read or a write command, the target */

Completed in 42 milliseconds

12