- fixes
This commit is contained in:
@@ -39,14 +39,14 @@ class LogcatEventSource(multiprocessing.Process):
|
||||
process_poll.register(process_logcat.stdout, select.POLLIN)
|
||||
|
||||
# Monitoring start time
|
||||
current_timestamp = time.monotonic()
|
||||
current_timestamp = utils.get_monotonic_time()
|
||||
|
||||
# Read logcat output line by line
|
||||
while self.terminate_flag.value == 0:
|
||||
# Check if time limit is hit
|
||||
if time.monotonic() - current_timestamp > self.timelimit:
|
||||
if utils.get_monotonic_time() - current_timestamp > self.timelimit:
|
||||
break
|
||||
current_timestamp = time.monotonic()
|
||||
current_timestamp = utils.get_monotonic_time()
|
||||
|
||||
# Look for available data on stdout
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user