Home
last modified time | relevance | path

Searched refs:sleep_seconds (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/lldb/test/API/test_runner/test/
Dinferior.py77 def handle_sleep(options, sleep_seconds): argument
86 if sleep_seconds is None:
89 if sleep_seconds <= 0:
92 end_time = datetime.datetime.now() + datetime.timedelta(0, sleep_seconds)
103 sleep_seconds = sleep_interval.total_seconds()
104 if sleep_seconds > 0:
105 time.sleep(sleep_seconds)
140 handle_sleep(options, options.sleep_seconds)
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_utils.cc24 void SleepForSeconds(double sleep_seconds) { in SleepForSeconds() argument
25 if (sleep_seconds <= 0.0) { in SleepForSeconds()
32 static_cast<uint64_t>(sleep_seconds * 1e6)); in SleepForSeconds()
Dbenchmark_utils.h29 void SleepForSeconds(double sleep_seconds);
/external/autotest/client/site_tests/power_HotCPUSuspend/
Dpower_HotCPUSuspend.py47 def sleep_and_measure_cpu(sleep_seconds): argument
49 time.sleep(sleep_seconds)
54 sleep_seconds, avg_cpu_usage * 100.)
/external/tensorflow/tensorflow/tools/benchmark/
Dbenchmark_model.cc232 void SleepSeconds(double sleep_seconds) { in SleepSeconds() argument
233 if (sleep_seconds <= 0.0) { in SleepSeconds()
237 Sleep(sleep_seconds * 1000); in SleepSeconds()
241 req.tv_sec = static_cast<time_t>(sleep_seconds); in SleepSeconds()
242 req.tv_nsec = (sleep_seconds - req.tv_sec) * 1000000000; in SleepSeconds()
321 Status TimeMultipleRuns(double sleep_seconds, int num_runs, double max_time_s, in TimeMultipleRuns() argument
332 << " detailed stat logging, with " << sleep_seconds in TimeMultipleRuns()
357 if (sleep_seconds > 0.0) { in TimeMultipleRuns()
358 SleepSeconds(sleep_seconds); in TimeMultipleRuns()
Dbenchmark_model.h45 Status TimeMultipleRuns(double sleep_seconds, int num_runs, double max_time_s,
/external/autotest/client/site_tests/usbpd_GFU/
Dusbpd_GFU.py137 retries=5, sleep_seconds=2)
183 sleep_seconds=2)
/external/autotest/contrib/
Dbackfill_tko_task_references.py220 logging.info('Iteration done. Sleeping for %d seconds', args.sleep_seconds)
221 time.sleep(args.sleep_seconds)
/external/autotest/client/cros/
Dcros_logging.py146 def get_last_msg(self, patterns, retries=0, sleep_seconds=0.2): argument
175 time.sleep(sleep_seconds)
/external/llvm-project/lldb/test/API/tools/lldb-server/
Dmain.cpp209 int sleep_seconds = 2 * (this_thread_index - 1); in thread_func() local
210 std::this_thread::sleep_for(std::chrono::seconds(sleep_seconds)); in thread_func()
/external/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-server/
Dgdbremote_testcase.py408 sleep_seconds=3, argument
419 if sleep_seconds:
420 args.append("sleep:%d" % sleep_seconds)
456 sleep_seconds=inferior_sleep_seconds,
/external/autotest/client/cros/power/
Dpower_status.py2931 def read_pch_powergating_info(self, sleep_seconds=1): argument
2944 time.sleep(sleep_seconds)
2950 time.sleep(sleep_seconds)