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

123

/macosx-10.9.5/dtrace-118.1/test/tst/common/aggs/
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.d27 #pragma ident "@(#)tst.avg.d 1.1 06/08/28 SMI"
32 * 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.d48 @a = avg(i);
H A Dtst.multiaggs1.d52 @c[pid] = avg(new_time);
H A Dtst.multiaggs3.d52 @b = avg(i);
/macosx-10.9.5/BerkeleyDB-21/db/test_micro/
H A Dreport.awk11 avg[i] = total[i] / count[i];
12 if (max < avg[i])
13 max = avg[i]
24 printf("%s:%.2f:%d:", i, avg[i], count[i]);
28 if (max != avg[i])
29 printf("%.0f%%", ((max - avg[i]) / max) * 100);
36 printf("%.0f%%", stdv * 100 / avg[i]);
H A Dreport68 read rel avg runs percent rsd
73 # echo "read: rel $rel, avg $avg, runs $runs, percent $percent, rsd $rsd" > /dev/stderr
80 t=`echo "400 * ($avg/($max + $max/10))" | bc -l`
86 echo "<td align=right width=100><pre>$avg</pre></td>"
/macosx-10.9.5/dtrace-118.1/test/tst/common/speculation/
H A Derr.D_AGG_SPEC.SpeculateWithAvg.d49 @avrg["speculate"] = avg(i);
/macosx-10.9.5/xnu-2422.115.4/osfmk/kern/
H A Dsched_average.c131 sched_average_t avg; local
251 for (avg = sched_average; avg->comp != NULL; ++avg) {
252 if (abstime >= avg->deadline) {
253 uint64_t period_abs = (avg->period * sched_one_second_interval);
256 ninvokes += (abstime - avg->deadline) / period_abs;
260 (*avg->comp)(avg->param);
262 avg
[all...]
/macosx-10.9.5/dtrace-118.1/test/tst/common/printa/
H A Dtst.basics.d41 @a = avg(1);
/macosx-10.9.5/xnu-2422.115.4/bsd/net/classq/
H A Dclassq_rio.c282 prec->avg = 0;
300 * and th_max to be compared with avg.
335 sp->q_avg = rp->rio_precstate[i].avg >> rp->rio_wshift;
376 int avg, droptype; local
390 * update avg of the precedence states whose drop precedence
396 avg = prec->avg;
403 avg = 0;
408 /* calculate (avg = (1 - Wq)^n * avg) */
[all...]
H A Dclassq_red.c293 * to be compared with avg.
341 int avg, droptype; local
344 avg = rp->red_avg;
359 * being idle for more than 1 minute, set avg to zero.
362 avg = 0;
367 /* the following line does (avg = (1 - Wq)^n * avg) */
369 avg = (avg >> FP_SHIFT) *
374 /* run estimator. (note: avg i
[all...]
H A Dclassq_rio.h100 int avg; /* (scaled) queue length average */ member in struct:rio::dropprec_state
104 int old; /* avg is above th_min */
/macosx-10.9.5/tcl-102/tcl_ext/incrtcl/incrTcl/itcl/tests/old/
H A Dtestlib.tcl79 set avg [expr 0.5*($num1+$num2)]
80 set diff [expr abs(($num1-$num2)/$avg)]
/macosx-10.9.5/remote_cmds-41.90.1/timed.tproj/timedc.tproj/
H A Dcmds.c178 register long avg; local
208 for (avg_cnt = 0, avg = 0; avg_cnt < 16; avg_cnt++) {
212 avg += measure_delta;
215 measure_delta = avg/avg_cnt;
239 avg = daydiff(*argv);
240 if (avg > SECDAY) {
242 hp->h_name, avg/SECDAY, myname);
244 } else if (avg < -SECDAY) {
246 hp->h_name, -avg/SECDAY, myname);
/macosx-10.9.5/xnu-2422.115.4/tools/tests/jitter/
H A Dtimer_jitter.c191 print_stats_us(const char *label, double avg, double max, double min, double stddev) argument
195 printf("Avg magnitude of %s: %.1lfus\n", label, avg / 1000.0 * (((double)g_mti.numer) / ((double)g_mti.denom)));
201 print_stats_fract(const char *label, double avg, double max, double min, double stddev) argument
205 printf("Avg %s jitter: %.1lf%%\n", label, avg * 100);
230 double avg, stddev, max, min; local
397 compute_stats(jitter_arr, iterations, &avg, &max, &min, &stddev);
401 print_stats_us("jitter", avg, max, min, stddev);
411 compute_stats(wakeup_second_jitter_arr, iterations, &avg, &max, &min, &stddev);
414 print_stats_us("second jitter", avg, max, min, stddev);
/macosx-10.9.5/dtrace-118.1/DTTk/Apps/
H A Dnfswizard.d63 @avgtime = avg(this->elapsed);
/macosx-10.9.5/dtrace-118.1/DTTk/Bin/
H A Dnfswizard.d63 @avgtime = avg(this->elapsed);
/macosx-10.9.5/xnu-2422.115.4/tools/tests/zero-to-n/
H A Dzero-to-n.c415 float avg, stddev; local
568 compute_stats(worst_latencies_ns, g_iterations, &avg, &max, &min, &stddev);
572 printf("Avg:\t\t%.2f us\n", avg / 1000.0);
577 compute_stats(worst_latencies_from_first_ns, g_iterations, &avg, &max, &min, &stddev);
581 printf("Avg:\t\t%.2f us\n", avg / 1000.0);
/macosx-10.9.5/ruby-104/ruby/test/psych/
H A Dtest_yaml.rb97 { 'hr' => 65, 'avg' => 0.278, 'rbi' => 147 }, <<EOY
98 avg: 0.278
128 {'name' => 'Mark McGwire', 'hr' => 65, 'avg' => 0.278},
129 {'name' => 'Sammy Sosa', 'hr' => 63, 'avg' => 0.288}
132 avg: 0.278
136 avg: 0.288
147 [ 'name', 'hr', 'avg' ],
151 - [ name , hr , avg ]
162 { 'hr' => 65, 'avg' => 0.278 },
164 { 'hr' => 63, 'avg'
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/
H A Dkern_synch.c449 struct loadavg *avg = &averunnable; local
453 avg->ldavg[i] = (cexp[i] * avg->ldavg[i] +

Completed in 382 milliseconds

123