Searched refs:diff_in_milli (Results 1 – 1 of 1) sorted by relevance
420 int diff_in_milli = (int) ((diff_in_nano + NANOS_PER_MILLI - 1) / NANOS_PER_MILLI); in updateBufferStats() local422 if (diff_in_milli > stats->max_buffer_period) { in updateBufferStats()423 stats->max_buffer_period = diff_in_milli; in updateBufferStats()427 if (diff_in_milli >= (RANGE - 1)) { in updateBufferStats()429 } else if (diff_in_milli >= 0) { in updateBufferStats()430 (stats->buffer_period)[diff_in_milli]++; in updateBufferStats()443 if (diff_in_milli > expectedBufferPeriod + LATE_CALLBACK_CAPTURE_THRESHOLD) { in updateBufferStats()447 atomicSetIfGreater(&(stats->captureRank), diff_in_milli - expectedBufferPeriod); in updateBufferStats()449 return diff_in_milli > expectedBufferPeriod + LATE_CALLBACK_OUTLIER_THRESHOLD; in updateBufferStats()