Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsStats.cpp135 mPenalty = 0; in updatePenalty()
139 if (mPenalty == 0) { in updatePenalty()
140 mPenalty = 100; in updatePenalty()
143 mPenalty = std::min(mPenalty * 2, kMaxQuality); in updatePenalty()
155 int quality = std::clamp(avgRtt + mPenalty - mSkippedCount, -1, kMaxQuality); in score()
DDnsStats.h97 int mPenalty = 0; variable