Home
last modified time | relevance | path

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

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