Home
last modified time | relevance | path

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

/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DBufferPeriod.java74 long diffInNano = mCurrentTimeNs - mPreviousTimeNs; in collectBufferPeriod() local
76 int diffInMilli = (int) ((diffInNano + Constant.NANOS_PER_MILLI - 1) / in collectBufferPeriod()
96 long delta = diffInNano - (long) mExpectedBufferPeriod * Constant.NANOS_PER_MILLI; in collectBufferPeriod()
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dsles.cpp196 static int64_t diffInNano(struct timespec previousTime, struct timespec currentTime) { in diffInNano() function
355 int64_t callbackDuration = diffInNano(stats->previous_time, stats->current_time); in collectBufferPeriod()
361 int64_t timeStamp = diffInNano(timeStamps->startTime, stats->current_time); in collectBufferPeriod()