Home
last modified time | relevance | path

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

/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dsles.cpp403 int diff_in_milli = (int) ((diff_in_nano + NANOS_PER_MILLI - 1) / NANOS_PER_MILLI); in updateBufferStats() local
405 if (diff_in_milli > stats->max_buffer_period) { in updateBufferStats()
406 stats->max_buffer_period = diff_in_milli; in updateBufferStats()
410 if (diff_in_milli >= (RANGE - 1)) { in updateBufferStats()
412 } else if (diff_in_milli >= 0) { in updateBufferStats()
413 (stats->buffer_period)[diff_in_milli]++; in updateBufferStats()
426 if (diff_in_milli > expectedBufferPeriod + LATE_CALLBACK_CAPTURE_THRESHOLD) { in updateBufferStats()
430 atomicSetIfGreater(&(stats->captureRank), diff_in_milli - expectedBufferPeriod); in updateBufferStats()
432 return diff_in_milli > expectedBufferPeriod + LATE_CALLBACK_OUTLIER_THRESHOLD; in updateBufferStats()