Lines Matching refs:ratio
130 unsigned int ratio; /* recent compression ratio */
131 unsigned int checkpoint; /* when to next check the ratio */
183 db->ratio = 0;
190 * Compute the compression ratio using fixed-point arithmetic
194 * watch only the local compression ratio.
198 * must compute the same ratio.
206 /* age the ratio by limiting the size of the counts */
217 /* Reset the dictionary only if the ratio is worse,
231 if (new_ratio < db->ratio || new_ratio < 1 * RATIO_SCALE)
236 db->ratio = new_ratio;