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

12

/freebsd-10.0-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-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/
H A Derr.D_AGG_SPEC.SpeculateWithAvg.d49 @avrg["speculate"] = avg(i);
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printa/
H A Dtst.basics.d39 @a = avg(1);
/freebsd-10.0-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-10.0-release/cddl/contrib/dtracetoolkit/Misc/
H A Dwpm.d92 @avg = avg(this->elapsed);
136 printa("Average keystroke latency : %@d ms\n", @avg);
/freebsd-10.0-release/sys/contrib/altq/altq/
H A Daltq_rio.c253 prec->avg = 0;
271 * and th_max to be compared with avg.
303 sp->q_avg = rp->rio_precstate[i].avg >> rp->rio_wshift;
341 int avg, droptype; local
351 * update avg of the precedence states whose drop precedence
357 avg = prec->avg;
364 avg = 0;
369 /* 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.c300 * to be compared with avg.
344 int avg, droptype; local
358 avg = rp->red_avg;
373 * being idle for more than 1 minute, set avg to zero.
376 avg = 0;
381 /* the following line does (avg = (1 - Wq)^n * avg) */
383 avg = (avg >> FP_SHIFT) *
388 /* run estimator. (note: avg i
[all...]
/freebsd-10.0-release/usr.sbin/timed/timedc/
H A Dcmds.c170 register long avg; local
200 for (avg_cnt = 0, avg = 0; avg_cnt < 16; avg_cnt++) {
204 avg += measure_delta;
207 measure_delta = avg/avg_cnt;
231 avg = daydiff(*argv);
232 if (avg > SECDAY) {
234 hp->h_name, avg/SECDAY, myname);
236 } else if (avg < -SECDAY) {
238 hp->h_name, -avg/SECDAY, myname);
/freebsd-10.0-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-10.0-release/sys/netpfil/ipfw/
H A Dip_dn_io.c290 * RED calculates the average queue size (avg) using a low-pass filter
292 * avg <- (1-w_q) * avg + w_q * q_size
296 * avg = (1 - w_q)^(idle/s)
299 * Now, if avg < min_th the packet is enqueued.
300 * If avg > max_th the packet is dropped. Otherwise, the packet is
301 * dropped with probability P function of avg.
313 /* Queue is not empty, avg <- avg + (q_size - avg) * w_
[all...]
/freebsd-10.0-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-10.0-release/cddl/contrib/dtracetoolkit/Apps/
H A Dnfswizard.d64 @avgtime = avg(this->elapsed);
/freebsd-10.0-release/sys/kern/
H A Dkern_synch.c558 struct loadavg *avg; local
561 avg = &averunnable;
564 avg->ldavg[i] = (cexp[i] * avg->ldavg[i] +
/freebsd-10.0-release/contrib/unbound/services/
H A Dmesh.c91 timeval_divide(struct timeval* avg, const struct timeval* sum, size_t d) argument
96 avg->tv_sec = 0;
97 avg->tv_usec = 0;
100 avg->tv_sec = sum->tv_sec / d;
101 avg->tv_usec = sum->tv_usec / d;
103 leftover = sum->tv_sec - avg->tv_sec*d;
104 avg->tv_usec += (leftover*1000000)/d;
1123 struct timeval avg; local
1124 timeval_divide(&avg, &mesh->replies_sum_wait,
1127 "%d.%6.6d sec", (int)avg
[all...]

Completed in 240 milliseconds

12