Searched refs:ratio (Results 1 - 25 of 25) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/powertop/common/
H A Dturbo.c192 * and get a delta. the final ratio of performance boost will be worked
200 double ratio; local
213 * Calculate the kstat delta and work out the performance boost ratio
220 ratio = 1.0;
222 ratio = (double)delta_acnt / (double)delta_mcnt;
223 g_turbo_ratio += ratio;
/opensolaris-onvv-gate/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...]
/opensolaris-onvv-gate/usr/src/cmd/acct/
H A Dacctcms.c303 double ratio; local
354 ratio = (double)elaps[PRIME]/(double)etime;
365 pcmt.pcm_cpu[PRIME] = dtmp * ratio;
366 pcmt.pcm_cpu[NONPRIME] = (ratio == 1.0) ? 0.0 :
370 pcmt.pcm_real[PRIME] = dtmp * ratio;
371 pcmt.pcm_real[NONPRIME] = (ratio == 1.0) ? 0.0 :
375 pcmt.pcm_kcore[PRIME] = dtmp * ratio;
376 pcmt.pcm_kcore[NONPRIME] = (ratio == 1.0) ? 0.0 :
379 pcmt.pcm_io[PRIME] = (double)ltmp * ratio;
380 pcmt.pcm_io[NONPRIME] = (ratio
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_tunables.c95 long ratio; local
106 if (ddi_strtol(colon + 1, NULL, 10, &ratio) != 0 || ratio <= 0)
112 /* There is an existing entry, so update its ratio value. */
114 sl->sl_ratio = ratio;
127 new_sl->sl_ratio = ratio;
H A Dsctp_misc.c110 * configuration for that port and return the ratio.
116 uint32_t ratio = 0; local
122 ratio = sl->sl_ratio;
127 return (ratio);
H A Dsctp_bind.c177 uint32_t ratio; local
179 ratio = sctp_find_listener_conf(sctps,
181 if (ratio != 0) {
187 * the configured ratio and maxusers. Maxusers
197 slc->slc_max = maxusers / ratio * mem_ratio;
200 slc->slc_max = maxusers / ratio / mem_ratio;
/opensolaris-onvv-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_mem.c121 gmem_serd_record(fmd_hdl_t *hdl, const char *serdbaser, uint32_t ratio, argument
125 if (ratio == 0)
127 for (i = 0; i < ratio; i++) {
H A Dgmem_memerr.c284 double ratio; local
297 ratio = lret * GMEM_MQ_RATIO;
299 if (sret > ratio) {
300 fmd_hdl_debug(hdl, "sret=%d lret=%d ratio=%.3f",
301 sret, lret, ratio);
/opensolaris-onvv-gate/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);
/opensolaris-onvv-gate/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...]
/opensolaris-onvv-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_tunables.c118 long ratio; local
129 if (ddi_strtol(colon + 1, NULL, 10, &ratio) != 0 || ratio <= 0)
135 /* There is an existing entry, so update its ratio value. */
137 tl->tl_ratio = ratio;
150 new_tl->tl_ratio = ratio;
H A Dtcp_misc.c613 * configuration for that port and return the ratio.
619 uint32_t ratio = 0; local
625 ratio = tl->tl_ratio;
630 return (ratio);
H A Dtcp.c4425 uint32_t ratio; local
4427 ratio = tcp_find_listener_conf(tcps,
4429 if (ratio != 0) {
4436 * the configured ratio and maxusers. Maxusers
4446 tlc->tlc_max = maxusers / ratio *
4450 tlc->tlc_max = maxusers / ratio /
/opensolaris-onvv-gate/usr/src/cmd/audio/audiotest/
H A Daudiotest.c230 float ratio; local
335 ratio = ((float)total_bytes / (float)sample_rate) * 100.0;
337 (float)sample_rate * ratio / 100.0, ratio - 100.0);
/opensolaris-onvv-gate/usr/src/cmd/terminfo/
H A Dprint.ti195 # - to get the best aspect ratio, three horizontal dots
198 # gives a worse aspect ratio).
715 # Graphics capabilities (low resolution, 9-pin, 5:6 aspect ratio):
722 # Set 5:6 aspect ratio.
743 # Graphics capabilities (low resolution, 9-pin, 1:1 aspect ratio):
749 # Set 1:1 aspect ratio.
785 # aspect ratio from 5:6 to 1:1. HOWEVER, there does not appear to
824 # Graphics capabilities (low resolution, 8-pin, 5:6 aspect ratio):
846 # Graphics capabilities (low resolution, 8-pin, 1:1 aspect ratio):
859 # Graphics capabilities (high resolution, 24-pin, 5:6 aspect ratio)
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dbsd-comp.c87 * The compression ratio is checked at the first end of a packet
112 uint_t ratio; /* recent compression ratio */ member in struct:bsd_db
113 uint_t checkpoint; /* when to next check the ratio */
223 db->ratio = 0;
234 * Compute the compression ratio using fixed-point arithmetic
238 * watch only the local compression ratio.
242 * must compute the same ratio.
252 * age the ratio by limiting the size of the counts
264 * Reset the dictionary only if the ratio i
[all...]
H A Ddeflate.c628 stats->ratio = stats->unc_bytes;
631 if (stats->ratio <= 0x7ffffff) {
632 stats->ratio <<= 8;
638 stats->ratio /= out;
/opensolaris-onvv-gate/usr/src/uts/common/net/
H A Dppp_defs.h243 u_int32_t ratio; /* recent compression ratio << 8 */ member in struct:compstat
/opensolaris-onvv-gate/usr/src/cmd/compress/
H A Dcompress.c185 static long int ratio = 0; variable
186 #define CHECK_GAP 10000 /* ratio check interval */
960 * ratio decreases, but after the table fills. The variable-length output
999 ratio = 0;
1741 (void) fprintf(stderr, "count: %lld, ratio: ",
1760 if (rat > ratio) {
1761 ratio = rat;
1763 ratio = 0;
/opensolaris-onvv-gate/usr/src/cmd/audio/audioplay/
H A Daudioplay.c71 * This defines the tolerable sample rate error as a ratio between the
862 double ratio; local
864 ratio = (double)abs((int)
867 if (ratio <= SAMPLE_RATE_THRESHOLD) {
/opensolaris-onvv-gate/usr/src/cmd/lp/terminfo/
H A D477.ti140 477-5x6|att477-5x6|AT&T 477 as Fujitsu DPL24C; 5:6 aspect ratio,
/opensolaris-onvv-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_memerr.c121 double ratio; local
144 ratio = lret * CMD_PAGE_RATIO;
146 if (sret > ratio) {
147 fmd_hdl_debug(hdl, "sret=%d lret=%d ratio=%.3f\n",
148 sret, lret, ratio);
/opensolaris-onvv-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_memerr_arch.c846 int i, ratio, type, fault_cpu, max_rpt; local
897 ratio = (fault_list[i]->count * 100) / (cmd.cmd_nupos * 2);
907 ratio, asru, fru, asru);
914 ratio, fru, fru, fru);
/opensolaris-onvv-gate/usr/src/uts/sun4v/io/
H A Dvdc.c8255 uint32_t ratio, n; local
8266 ratio = blk_size / DEV_BSIZE;
8268 for (n = ratio; n > 1; n >>= 1) {
8277 vdc->vio_bmask = ratio - 1;

Completed in 475 milliseconds