Searched refs:diffInNano (Results 1 – 2 of 2) sorted by relevance
73 long diffInNano = mCurrentTimeNs - mPreviousTimeNs; in collectBufferPeriod() local75 int diffInMilli = (int) ((diffInNano + Constant.NANOS_PER_MILLI - 1) / in collectBufferPeriod()95 long delta = diffInNano - (long) mExpectedBufferPeriod * Constant.NANOS_PER_MILLI; in collectBufferPeriod()
214 int64_t diffInNano(struct timespec previousTime, struct timespec currentTime) { in diffInNano() function372 int64_t callbackDuration = diffInNano(stats->previous_time, stats->current_time); in collectBufferPeriod()378 int64_t timeStamp = diffInNano(timeStamps->startTime, stats->current_time); in collectBufferPeriod()