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

12

/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.avg_neg.d32 * Positive avg() test using negative values
36 * NOTES: This is a simple verifiable positive test of the avg() function.
43 @ = avg(0);
44 @ = avg(-900);
H A Derr.D_PROTO_LEN.avgnoarg.d32 * avg() should not accept a call with no arguments
42 @a[1] = avg();
H A Derr.D_PROTO_LEN.avgtoomany.d32 * avg() should not more than one argument
42 @a[1] = avg(1, 2);
H A Derr.D_AGG_SCALAR.avgtoofew.d31 * avg() should not accept a non-scalar value
41 @a[pid] = avg(probefunc);
H A Dtst.avg.d32 * Positive avg() test
36 * NOTES: This is a simple verifiable positive test of the avg() function.
49 @a = avg(i);
H A Dtst.clearavg.d32 * Positive avg() test
37 * Verifies that printing a clear()'d aggregation with an avg()
47 @a = avg(timestamp);
H A Dtst.clearavg2.d32 * Positive avg() test
37 * Verifies that printing a clear()'d aggregation with an avg()
49 @time = avg(0);
H A Dtst.multiaggs2.d46 @a = avg(i);
H A Dtst.multiaggs1.d50 @c[pid] = avg(new_time);
H A Dtst.multiaggs3.d50 @b = avg(i);
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/
H A Derr.D_AGG_SPEC.SpeculateWithAvg.d49 @avrg["speculate"] = avg(i);
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printa/
H A Dtst.basics.d39 @a = avg(1);
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Bin/
H A Dwpm.d92 @avg = avg(this->elapsed);
136 printa("Average keystroke latency : %@d ms\n", @avg);
H A Dnfswizard.d64 @avgtime = avg(this->elapsed);
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Misc/
H A Dwpm.d92 @avg = avg(this->elapsed);
136 printa("Average keystroke latency : %@d ms\n", @avg);
/freebsd-9.3-release/sys/contrib/altq/altq/
H A Daltq_rio.c254 prec->avg = 0;
272 * and th_max to be compared with avg.
304 sp->q_avg = rp->rio_precstate[i].avg >> rp->rio_wshift;
342 int avg, droptype; local
352 * update avg of the precedence states whose drop precedence
358 avg = prec->avg;
365 avg = 0;
370 /* calculate (avg = (1 - Wq)^n * avg) */
[all...]
H A Daltq_rio.h102 int avg; /* (scaled) queue length average */ member in struct:rio::dropprec_state
106 int old; /* avg is above th_min */
H A Daltq_red.c293 * to be compared with avg.
340 int avg, droptype; local
354 avg = rp->red_avg;
369 * being idle for more than 1 minute, set avg to zero.
372 avg = 0;
377 /* the following line does (avg = (1 - Wq)^n * avg) */
379 avg = (avg >> FP_SHIFT) *
384 /* run estimator. (note: avg i
[all...]
/freebsd-9.3-release/tools/tools/crypto/
H A Dcryptostats.c45 uint64_t avg, min, max; local
49 avg = (1000000000LL*ts->acc.tv_sec + ts->acc.tv_nsec) / ts->count;
52 printf("%16.16s: avg %6llu ns : min %6llu ns : max %7llu ns [%u samps]\n",
53 tag, avg, min, max, ts->count);
/freebsd-9.3-release/usr.sbin/timed/timedc/
H A Dcmds.c174 register long avg; local
204 for (avg_cnt = 0, avg = 0; avg_cnt < 16; avg_cnt++) {
208 avg += measure_delta;
211 measure_delta = avg/avg_cnt;
235 avg = daydiff(*argv);
236 if (avg > SECDAY) {
238 hp->h_name, avg/SECDAY, myname);
240 } else if (avg < -SECDAY) {
242 hp->h_name, -avg/SECDAY, myname);
/freebsd-9.3-release/sbin/pfctl/missing/altq/
H A Daltq_rio.h103 int avg; /* (scaled) queue length average */ member in struct:rio::dropprec_state
107 int old; /* avg is above th_min */
/freebsd-9.3-release/sys/netpfil/ipfw/
H A Dip_dn_io.c283 * RED calculates the average queue size (avg) using a low-pass filter
285 * avg <- (1-w_q) * avg + w_q * q_size
289 * avg = (1 - w_q)^(idle/s)
292 * Now, if avg < min_th the packet is enqueued.
293 * If avg > max_th the packet is dropped. Otherwise, the packet is
294 * dropped with probability P function of avg.
306 /* Queue is not empty, avg <- avg + (q_size - avg) * w_
[all...]
/freebsd-9.3-release/sys/boot/ficl/
H A Ddict.c487 double avg = 0.0; local
510 avg += (double)(n * (n+1)) / 2.0;
518 /* Calc actual avg search depth for this hash */
519 avg = avg / nWords;
531 avg,
533 100.0 * best / avg);
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Apps/
H A Dnfswizard.d64 @avgtime = avg(this->elapsed);
/freebsd-9.3-release/sys/kern/
H A Dkern_synch.c549 struct loadavg *avg; local
552 avg = &averunnable;
555 avg->ldavg[i] = (cexp[i] * avg->ldavg[i] +

Completed in 181 milliseconds

12