Searched refs:sleep_seconds (Results 1 – 12 of 12) sorted by relevance
/external/llvm-project/lldb/test/API/test_runner/test/ |
D | inferior.py | 77 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/ |
D | benchmark_utils.cc | 24 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()
|
D | benchmark_utils.h | 29 void SleepForSeconds(double sleep_seconds);
|
/external/autotest/client/site_tests/power_HotCPUSuspend/ |
D | power_HotCPUSuspend.py | 47 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/ |
D | benchmark_model.cc | 232 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()
|
D | benchmark_model.h | 45 Status TimeMultipleRuns(double sleep_seconds, int num_runs, double max_time_s,
|
/external/autotest/client/site_tests/usbpd_GFU/ |
D | usbpd_GFU.py | 137 retries=5, sleep_seconds=2) 183 sleep_seconds=2)
|
/external/autotest/contrib/ |
D | backfill_tko_task_references.py | 220 logging.info('Iteration done. Sleeping for %d seconds', args.sleep_seconds) 221 time.sleep(args.sleep_seconds)
|
/external/autotest/client/cros/ |
D | cros_logging.py | 146 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/ |
D | main.cpp | 209 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/ |
D | gdbremote_testcase.py | 408 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/ |
D | power_status.py | 2931 def read_pch_powergating_info(self, sleep_seconds=1): argument 2944 time.sleep(sleep_seconds) 2950 time.sleep(sleep_seconds)
|