Home
last modified time | relevance | path

Searched refs:time_from_now (Results 1 – 2 of 2) sorted by relevance

/tools/asuite/atest/metrics/
Dclearcut_client.py118 def _schedule_flush_thread(self, time_from_now): argument
120 if min_wait_sec > time_from_now:
121 time_from_now = min_wait_sec
122 logging.debug('Scheduling thread to run in %f seconds', time_from_now)
124 time_from_now, self._flush)
125 self._scheduled_flush_time = time.time() + time_from_now
/tools/tradefederation/core/atest/metrics/
Dclearcut_client.py125 def _schedule_flush_thread(self, time_from_now): argument
127 if min_wait_sec > time_from_now:
128 time_from_now = min_wait_sec
129 logging.debug('Scheduling thread to run in %f seconds', time_from_now)
130 self._scheduled_flush_thread = threading.Timer(time_from_now, self._flush)
131 self._scheduled_flush_time = time.time() + time_from_now