/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.avg_neg.d | 32 * 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 D | err.D_PROTO_LEN.avgnoarg.d | 32 * avg() should not accept a call with no arguments 42 @a[1] = avg();
|
H A D | err.D_PROTO_LEN.avgtoomany.d | 32 * avg() should not more than one argument 42 @a[1] = avg(1, 2);
|
H A D | err.D_AGG_SCALAR.avgtoofew.d | 31 * avg() should not accept a non-scalar value 41 @a[pid] = avg(probefunc);
|
H A D | tst.avg.d | 32 * Positive avg() test 36 * NOTES: This is a simple verifiable positive test of the avg() function. 49 @a = avg(i);
|
H A D | tst.clearavg.d | 32 * Positive avg() test 37 * Verifies that printing a clear()'d aggregation with an avg() 47 @a = avg(timestamp);
|
H A D | tst.clearavg2.d | 32 * Positive avg() test 37 * Verifies that printing a clear()'d aggregation with an avg() 49 @time = avg(0);
|
H A D | tst.multiaggs2.d | 46 @a = avg(i);
|
H A D | tst.multiaggs1.d | 50 @c[pid] = avg(new_time);
|
H A D | tst.multiaggs3.d | 50 @b = avg(i);
|
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/ |
H A D | err.D_AGG_SPEC.SpeculateWithAvg.d | 49 @avrg["speculate"] = avg(i);
|
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printa/ |
H A D | tst.basics.d | 39 @a = avg(1);
|
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Bin/ |
H A D | wpm.d | 92 @avg = avg(this->elapsed); 136 printa("Average keystroke latency : %@d ms\n", @avg);
|
H A D | nfswizard.d | 64 @avgtime = avg(this->elapsed);
|
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Misc/ |
H A D | wpm.d | 92 @avg = avg(this->elapsed); 136 printa("Average keystroke latency : %@d ms\n", @avg);
|
/freebsd-10.0-release/sys/contrib/altq/altq/ |
H A D | altq_rio.c | 253 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 D | altq_rio.h | 102 int avg; /* (scaled) queue length average */ member in struct:rio::dropprec_state 106 int old; /* avg is above th_min */
|
H A D | altq_red.c | 300 * 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 D | cmds.c | 170 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 D | cryptostats.c | 45 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 D | ip_dn_io.c | 290 * 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 D | dict.c | 487 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 D | nfswizard.d | 64 @avgtime = avg(this->elapsed);
|
/freebsd-10.0-release/sys/kern/ |
H A D | kern_synch.c | 558 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 D | mesh.c | 91 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...] |