Home
last modified time | relevance | path

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

/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.cc286 void SleepSeconds(double sleep_seconds) { in SleepSeconds() argument
287 if (sleep_seconds <= 0.0) { in SleepSeconds()
291 Sleep(sleep_seconds * 1000); in SleepSeconds()
295 req.tv_sec = static_cast<time_t>(sleep_seconds); in SleepSeconds()
296 req.tv_nsec = (sleep_seconds - req.tv_sec) * 1000000000; in SleepSeconds()
301 Status TimeMultipleRuns(double sleep_seconds, int num_runs, double max_time_s, in TimeMultipleRuns() argument
311 << " detailed stat logging, with " << sleep_seconds in TimeMultipleRuns()
335 if (sleep_seconds > 0.0) { in TimeMultipleRuns()
336 SleepSeconds(sleep_seconds); in TimeMultipleRuns()
Dbenchmark_model.h44 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/client/cros/
Dcros_logging.py131 def get_last_msg(self, patterns, retries=0, sleep_seconds=0.2): argument
160 time.sleep(sleep_seconds)