Searched defs:ratio (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dcacheinfo.c37 unsigned long ratio = hits * 10000 / (hits + misses); local
38 grub_printf ("(%lu.%lu%%)\n", ratio / 100, ratio % 100);
/osnet-11/usr/src/cmd/powertop/common/
H A Dturbo.c176 * and get a delta. the final ratio of performance boost will be worked
184 double ratio; local
197 * Calculate the kstat delta and work out the performance boost ratio
204 ratio = 1.0;
206 ratio = (double)delta_acnt / (double)delta_mcnt;
207 g_turbo_ratio += ratio;
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dbsd-comp.c71 * The compression ratio is checked at the first end of a packet
96 u_int ratio; /* recent compression ratio */ member in struct:bsd_db
97 u_int checkpoint; /* when to next check the ratio */
185 db->ratio = 0;
194 * Compute the compression ratio using fixed-point arithmetic
198 * watch only the local compression ratio.
202 * must compute the same ratio.
211 /* age the ratio by limiting the size of the counts */
221 /* Reset the dictionary only if the ratio i
[all...]

Completed in 16 milliseconds