/freebsd-current/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.avgtoomany.d | 32 * avg() should not more than one argument 42 @a[1] = avg(1, 2);
|
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_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-current/contrib/unbound/util/ |
H A D | timeval_func.c | 76 timeval_divide(struct timeval* avg, const struct timeval* sum, long long d) argument 81 avg->tv_sec = 0; 82 avg->tv_usec = 0; 85 avg->tv_sec = sum->tv_sec / d; 86 avg->tv_usec = sum->tv_usec / d; 88 leftover = sum->tv_sec - avg->tv_sec*d; 91 avg->tv_usec += (((long long)leftover)*((long long)1000000))/d; 92 if(avg->tv_sec < 0) 93 avg->tv_sec = 0; 94 if(avg [all...] |
H A D | timeval_func.h | 52 void timeval_divide(struct timeval* avg, const struct timeval* sum, long long d);
|
/freebsd-current/tools/tools/qrndtest/ |
H A D | r.c | 54 uint64_t avg; local 73 avg = vals[0] + vals[1] + vals[2] + vals[3]; 74 avg /= 4; 75 printf("%d: %ld %ld %ld %ld\n", i, vals[0] - avg, vals[1] - avg, vals[2] - avg, vals[3] - avg);
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/ |
H A D | err.D_AGG_SPEC.SpeculateWithAvg.d | 49 @avrg["speculate"] = avg(i);
|
/freebsd-current/sys/net/altq/ |
H A D | altq_rio.c | 231 prec->avg = 0; 249 * and th_max to be compared with avg. 281 sp->q_avg = rp->rio_precstate[i].avg >> rp->rio_wshift; 319 int avg, droptype; local 329 * update avg of the precedence states whose drop precedence 335 avg = prec->avg; 342 avg = 0; 347 /* calculate (avg = (1 - Wq)^n * avg) */ [all...] |
H A D | altq_rio.h | 62 int avg; /* (scaled) queue length average */ member in struct:rio::dropprec_state 66 int old; /* avg is above th_min */
|
H A D | altq_red.c | 246 * to be compared with avg. 284 int avg, droptype; local 287 avg = rp->red_avg; 302 * being idle for more than 1 minute, set avg to zero. 305 avg = 0; 310 /* the following line does (avg = (1 - Wq)^n * avg) */ 312 avg = (avg >> FP_SHIFT) * 317 /* run estimator. (note: avg i [all...] |
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printa/ |
H A D | tst.basics.d | 39 @a = avg(1);
|
/freebsd-current/share/dtrace/ |
H A D | disklatency | 49 @avg[args[1]->device_name, args[1]->unit_number] = avg(this->delta); 58 printa("avg%s (%d), us:\n%@d\n", @avg); 63 clear(@avg);
|
H A D | disklatencycmd | 58 @avg[args[1]->device_name, args[1]->unit_number] = avg(this->delta); 68 printa("avg%s (%d), us: %@d\n", @avg);
|
/freebsd-current/tools/tools/crypto/ |
H A D | cryptostats.c | 47 uint64_t avg, min, max; local 51 avg = (1000000000LL*ts->acc.tv_sec + ts->acc.tv_nsec) / ts->count; 54 printf("%16.16s: avg %6llu ns : min %6llu ns : max %7llu ns [%u samps]\n", 55 tag, avg, min, max, ts->count);
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/oformat/ |
H A D | tst.agg.avg.ksh | 25 @[probefunc] = avg(tid);
|
/freebsd-current/sbin/ping/ |
H A D | main.c | 237 double avg = tsum / num; local 238 double stddev = sqrt(fmax(0, tsumsq / num - avg * avg)); 240 "round-trip min/avg/max/stddev = %.3f/%.3f/%.3f/%.3f ms\n", 241 tmin, avg, tmax, stddev);
|
/freebsd-current/cddl/usr.sbin/dtrace/tests/common/oformat/ |
H A D | Makefile | 8 tst.agg.avg.ksh \
|
/freebsd-current/stand/ficl/ |
H A D | dict.c | 486 double avg = 0.0; local 509 avg += (double)(n * (n+1)) / 2.0; 517 /* Calc actual avg search depth for this hash */ 518 avg = avg / nWords; 530 avg, 532 100.0 * best / avg);
|