Searched refs:timeout (Results 1 - 16 of 16) sorted by relevance

/gem5/tests/testing/
H A Dhelpers.py68 def _terminate_nicely(self, timeout=5):
75 timer = Timer(timeout, on_timeout)
89 def call(self, timeout=0):
96 timer = Timer(timeout, on_timeout)
97 if timeout:
171 status, stdout, stderr = p.call(timeout=1)
H A Dunits.py131 - timeout -> STATE_ERROR
139 def __init__(self, gem5, gem5_args, timeout=0, **kwargs):
143 self.timeout = timeout
156 status, gem5_stdout, gem5_stderr = p.call(timeout=self.timeout)
H A Dtests.py256 timeout=None,
266 self.timeout = timeout
/gem5/util/
H A Dqdo64 help='oarsub queue wait timeout', default=30*60)
66 help='command execution timeout', default=600*60)
119 def expect(self, regexp, timeout = -1):
120 pexpect.spawn.expect(self, regexp, timeout)
125 def do_bare_command(self, cmd, timeout = -1):
131 self.expect(self.prompt_re, timeout)
137 def do_command(self, cmd, timeout = -1):
139 output = self.do_bare_command(cmd, timeout)
/gem5/util/term/
H A Dterm.c151 struct timeval timeout; local
162 timeout.tv_sec = 1;
163 timeout.tv_usec = 0;
165 n = select(max_fd, &read_fds, NULL, NULL, &timeout);
/gem5/ext/pybind11/tests/
H A Dtest_gil_scoped.py13 process.join(timeout=10)
/gem5/src/dev/x86/
H A Di8042.hh81 Bitfield<6> timeout; member in class:X86ISA::I8042
/gem5/src/systemc/core/
H A Dprocess.cc121 std::string message("attempt to disable a thread with timeout wait: ");
320 Process::timeout() function in class:sc_gem5::Process
323 // event but got a timeout instead.
382 timeoutEvent([this]() { this->timeout(); }),
H A Dprocess.hh145 void timeout();
/gem5/tests/
H A Dtests.py166 parser.add_argument("--timeout", "-t",
195 timeout=args.timeout,
/gem5/src/systemc/tests/
H A Dverify.py148 parser.add_argument('--timeout', type=int, metavar='SECONDS',
157 'timeout',
158 '--kill-after', str(args.timeout * 2),
159 str(args.timeout)
163 if args.timeout:
/gem5/src/cpu/kvm/
H A Dbase.cc1263 // Setting the timeout to zero causes sigtimedwait to return
1265 struct timespec timeout; local
1266 timeout.tv_sec = 0;
1267 timeout.tv_nsec = 0;
1274 discardedSignal = sigtimedwait(&sigset, NULL, &timeout);
/gem5/ext/testlib/
H A Dhandlers.py397 item = self.queue.get(timeout=0.1)
/gem5/ext/googletest/googlemock/scripts/
H A Dupload.py293 timeout=None,
301 timeout: timeout in seconds; default None i.e. no timeout.
302 (Note: for large requests on OS X, the timeout doesn't work right.)
314 socket.setdefaulttimeout(timeout)
/gem5/ext/googletest/googletest/scripts/
H A Dupload.py293 timeout=None,
301 timeout: timeout in seconds; default None i.e. no timeout.
302 (Note: for large requests on OS X, the timeout doesn't work right.)
314 socket.setdefaulttimeout(timeout)
/gem5/src/sim/
H A Dsyscall_emul.hh344 int timeout M5_VAR_USED = process->getSyscallArg(tc, index);
395 return futex_map.requeue(uaddr, process->tgid(), val, timeout, uaddr2);
464 woken2 = futex_map.wakeup(uaddr2, process->tgid(), timeout);
1092 * underlying host for any other time than tmout a zero timeout.
2533 * zero timeout. (There is no reason to block during the simulation

Completed in 43 milliseconds