Searched refs:elapsedNanos (Results 1 – 3 of 3) sorted by relevance
255 long elapsedNanos = timestamp.nanoTime - previous.nanoTime; in checkIndividualTimestamps() local256 double measuredMillis = elapsedNanos / (double) NANOS_PER_MILLISECOND; in checkIndividualTimestamps()304 long elapsedNanos = timestamp2.nanoTime - timestamp1.nanoTime; in calculateSampleRate() local305 double measuredRate = elapsedFrames * (double) NANOS_PER_SECOND / elapsedNanos; in calculateSampleRate()
412 long elapsedNanos = message.timeReceived - message.timestamp; in test_G_NativeEchoTime() local416 + " too large, " + elapsedNanos in test_G_NativeEchoTime()420 (elapsedNanos < maxLatencyNanos)); in test_G_NativeEchoTime()
694 long elapsedNanos = message.timeReceived - message.timestamp; in testEchoLatency() local697 assertTrue("MIDI round trip latency[" + index + "] too large, " + elapsedNanos in testEchoLatency()699 (elapsedNanos < maxLatencyNanos)); in testEchoLatency()