Lines Matching refs:log
31 def log(msg): function
38 log("Connecting to [%s]:4242 (through interface %s, scope_id %d)" % (
48 log("Connection established. Will begin sending data")
59 log("Will try sending %d and read it back" % current_n)
67 log("Timeout while sending data to Zephyr, will try again")
74 log("Were not able to transmit %d (%d bytes), will try again" % (
85 log("Timeout while reading data from Zephyr, will try again")
90 log("Got back %d bytes instead of %d. Will send again" % (
97 log("Got back '%s' but sent '%s'. Will try again" % (
103 log("Got %d back in %f seconds" % (current_n, delta))
108 log("Roundtrip takes %f seconds on average" % (delta_avg / 10))
114 log("So far: %d timeouts, %d rx errors, %d tx errors" % (
118 log("So far, so good: no timeouts or errors")