Searched refs:elapsedNanos (Results 1 – 3 of 3) sorted by relevance
413 long elapsedNanos = message.timeReceived - message.timestamp; in test_G_NativeEchoTime() local417 + " too large, " + elapsedNanos in test_G_NativeEchoTime()421 (elapsedNanos < maxLatencyNanos)); in test_G_NativeEchoTime()
259 long elapsedNanos = timestamp.nanoTime - previous.nanoTime; in checkIndividualTimestamps() local260 double measuredMillis = elapsedNanos / (double) NANOS_PER_MILLISECOND; in checkIndividualTimestamps()307 long elapsedNanos = timestamp2.nanoTime - timestamp1.nanoTime; in calculateSampleRate() local308 double measuredRate = elapsedFrames * (double) NANOS_PER_SECOND / elapsedNanos; in calculateSampleRate()
385 long elapsedNanos = message.timeReceived - message.timestamp; in testEchoLatency() local388 assertTrue("MIDI round trip latency[" + index + "] too large, " + elapsedNanos in testEchoLatency()390 (elapsedNanos < maxLatencyNanos)); in testEchoLatency()