Home
last modified time | relevance | path

Searched refs:timeout_s (Results 1 – 18 of 18) sorted by relevance

/external/autotest/client/cros/
Dmainloop.py42 def __init__(self, main_loop, timeout_s=-1): argument
45 if timeout_s == -1:
48 self.timeout_s = timeout_s
66 if self.timeout_s > 0:
67 timeout_source = gobject.timeout_add(self.timeout_s * 1000, self._timeout)
69 if self.timeout_s > 0:
/external/pigweed/pw_rpc/py/pw_rpc/console_tools/
Dwatchdog.py30 timeout_s: float = 1,
49 self.timeout_s = timeout_s
52 self.expired_timeout_s = self.timeout_s * 10
63 self.expired_timeout_s if self.expired else self.timeout_s,
/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine.cc41 SingleMachine::SingleMachine(int timeout_s, int num_cpu_cores, int num_gpus) in SingleMachine() argument
42 : Cluster(timeout_s), expected_init_time_s_(0), closing_(false) { in SingleMachine()
58 if (timeout_s > 0) { in SingleMachine()
59 options_.config.set_operation_timeout_in_ms(timeout_s * 1000); in SingleMachine()
154 int64 timeout_s = timeout_s_ + expected_init_time_s_; in Run() local
156 RunWithTimeout({}, init_ops_, &init_metadata_, timeout_s)); in Run()
249 int64 timeout_s) { in RunWithTimeout() argument
263 timeout_s * 1000, thread_pool_.get()); in RunWithTimeout()
265 return errors::DeadlineExceeded("Failed to run the graph after ", timeout_s, in RunWithTimeout()
Dsingle_machine.h33 SingleMachine(int timeout_s, int num_cpu_cores, int num_gpus);
60 RunMetadata* run_metadata, int64 timeout_s);
Dcluster.cc22 Cluster::Cluster(int timeout_s) : timeout_s_(timeout_s) { in Cluster() argument
Dcluster.h40 explicit Cluster(int timeout_s);
Dsingle_machine_test.cc45 int timeout_s = 10; in SetUp() local
47 int timeout_s = 5; in SetUp()
50 timeout_s *= 5; in SetUp()
53 new SingleMachine(timeout_s, 3 /* num_cpu_cores */, 0 /* num_gpus */)); in SetUp()
/external/autotest/client/site_tests/cellular_DisableWhileConnecting/
Dcontrol.pseudomodem30 timeout_s=20,
40 timeout_s=20,
51 timeout_s=20,
61 timeout_s=20,
Dcellular_DisableWhileConnecting.py264 timeout_s = kwargs.get('timeout_s', DEFAULT_TEST_TIMEOUT_S)
271 timeout_s=timeout_s)
279 timeout_s=timeout_s)
/external/pigweed/pw_rpc/py/pw_rpc/
Dcallback_client.py217 timeout_s: OptionalTimeout = UseDefault.VALUE) -> Iterator:
223 if timeout_s is UseDefault.VALUE:
224 timeout_s = self.default_timeout_s
228 response = self._queue.get(block, timeout_s)
240 … raise RpcTimeout(self._method_client._rpc, timeout_s) # pylint: disable=protected-access
318 def wait(self, timeout_s: Optional[float]) -> UnaryResponse:
319 if not self._event.wait(timeout_s):
320 raise RpcTimeout(self._rpc, timeout_s)
/external/grpc-grpc/test/core/gpr/
Dspinlock_test.cc90 static void test(const char* name, void (*body)(void* m), int timeout_s, in test() argument
97 start, gpr_time_from_micros(static_cast<int64_t>(timeout_s) * 1000000, in test()
Dsync_test.cc243 void (*extra)(void* m), int timeout_s, int incr_step) { in test() argument
249 start, gpr_time_from_micros(static_cast<int64_t>(timeout_s) * 1000000, in test()
/external/pigweed/pw_unit_test/py/pw_unit_test/
Drpc.py119 timeout_s: OptionalTimeout = UseDefault.VALUE) -> bool:
131 pw_rpc_timeout_s=timeout_s))
/external/autotest/server/cros/
Dgsutil_wrapper.py15 def copy_private_bucket(host, bucket, filename, destination, timeout_s=30): argument
/external/tensorflow/tensorflow/python/tpu/client/
Dclient.py360 def wait_for_healthy(self, timeout_s=1200, interval=30): argument
370 timeout = time.time() + timeout_s
Dclient_test.py744 c.wait_for_healthy(timeout_s=timeout, interval=interval)
774 c.wait_for_healthy(timeout_s=80, interval=5)
/external/tensorflow/tensorflow/python/grappler/
Dcluster_wrapper.cc85 int timeout_s = 60 * 10; in PYBIND11_MODULE() local
88 timeout_s, num_cpu_cores, num_gpus); in PYBIND11_MODULE()
/external/pigweed/pw_rpc/py/tests/
Dcallback_client_test.py438 for _ in responses.responses(timeout_s=0.0001):