Searched refs:diffInNano (Results 1 – 2 of 2) sorted by relevance
74 long diffInNano = mCurrentTimeNs - mPreviousTimeNs; in collectBufferPeriod() local76 int diffInMilli = (int) ((diffInNano + Constant.NANOS_PER_MILLI - 1) / in collectBufferPeriod()96 long delta = diffInNano - (long) mExpectedBufferPeriod * Constant.NANOS_PER_MILLI; in collectBufferPeriod()
196 static int64_t diffInNano(struct timespec previousTime, struct timespec currentTime) { in diffInNano() function355 int64_t callbackDuration = diffInNano(stats->previous_time, stats->current_time); in collectBufferPeriod()361 int64_t timeStamp = diffInNano(timeStamps->startTime, stats->current_time); in collectBufferPeriod()