Searched refs:ratio (Results 1 - 6 of 6) 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/perl/5.8.4/distrib/ext/Time/HiRes/t/
H A DHiRes.t241 my $ratio = abs($ival/$exp);
242 $not = "while: $exp sleep took $ival ratio $ratio";
256 my $ratio = abs($ival/$exp);
257 $not = "tick: $exp sleep took $ival ratio $ratio";
316 my $ratio = 1.0 + $a;
318 $msg = "$td went by while sleeping $sleep, ratio $ratio.\n";
329 $ratio
[all...]
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c8 * -r Show compression ratio
213 creq.stats.c.ratio = 0.0;
215 creq.stats.c.ratio = 256.0 * creq.stats.c.in_count /
223 creq.stats.d.ratio = 0.0;
225 creq.stats.d.ratio = 256.0 * creq.stats.d.in_count /
381 ccs.d.ratio / 256.0);
387 ccs.c.ratio / 256.0);
394 ccs.d.ratio / 256.0);
400 ccs.c.ratio / 256.0);
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Ddeflate.c117 stats->ratio = stats->unc_bytes;
119 if (stats->ratio <= 0x7ffffff)
120 stats->ratio <<= 8;
124 stats->ratio /= out;
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 274 milliseconds