Searched refs:oldAverage (Results 1 – 1 of 1) sorted by relevance
51 uint32_t oldAverage = mFailureRate; in AddSample() local58 mFailureRate = static_cast<uint16_t>(((oldAverage * (n - 1)) + newValue + (n / 2)) / n); in AddSample()