Searched refs:diff_in_nano (Results 1 – 2 of 2) sorted by relevance
165 bool updateBufferStats(bufferStats *stats, int64_t diff_in_nano, int expectedBufferPeriod);
416 bool updateBufferStats(bufferStats *stats, int64_t diff_in_nano, int expectedBufferPeriod) { in updateBufferStats() argument420 int diff_in_milli = (int) ((diff_in_nano + NANOS_PER_MILLI - 1) / NANOS_PER_MILLI); in updateBufferStats()435 int64_t delta = diff_in_nano - (int64_t) expectedBufferPeriod * NANOS_PER_MILLI; in updateBufferStats()