Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsStats.cpp143 mPenalty = 0; in updatePenalty()
147 if (mPenalty == 0) { in updatePenalty()
148 mPenalty = 100; in updatePenalty()
151 mPenalty = std::min(mPenalty * 2, kMaxQuality); in updatePenalty()
163 int quality = std::clamp(avgRtt + mPenalty - mSkippedCount, -1, kMaxQuality); in score()
DDnsStats.h98 int mPenalty = 0; variable