Lines Matching full:average
45 * - Average latency multiplier: 5x (a local DNS server returning a cached value
47 * - Minimum Count for Average: 3. This is the minimum number of queries we
48 * need to form an average for the bucket.
66 * NOTE: average latency is (total time / count), we will calculate this
73 * - Check count of bucket, if its not at least the "Minimum Count for Average",
76 * - If bucket is selected, take ("total time" / count) as Average latency,
77 * multiply by "Average Latency Multiplier", bound by "Minimum Timeout" and
104 /*! Multiplier to apply to average latency to come up with an initial timeout */
110 /*! Minimum queries required to form an average */
229 /* Calculate average time for previous bucket */ in ares_metrics_server_timeout()
233 /* Calculate average time for current bucket*/ in ares_metrics_server_timeout()
238 /* Multiply average by constant to get timeout value */ in ares_metrics_server_timeout()