/macosx-10.9.5/dtrace-118.1/test/tst/common/aggs/ |
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 | 27 #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 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 | 48 @a = avg(i);
|
H A D | tst.multiaggs1.d | 52 @c[pid] = avg(new_time);
|
H A D | tst.multiaggs3.d | 52 @b = avg(i);
|
/macosx-10.9.5/BerkeleyDB-21/db/test_micro/ |
H A D | report.awk | 11 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 D | report | 68 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 D | err.D_AGG_SPEC.SpeculateWithAvg.d | 49 @avrg["speculate"] = avg(i);
|
/macosx-10.9.5/xnu-2422.115.4/osfmk/kern/ |
H A D | sched_average.c | 131 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 D | tst.basics.d | 41 @a = avg(1);
|
/macosx-10.9.5/xnu-2422.115.4/bsd/net/classq/ |
H A D | classq_rio.c | 282 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 D | classq_red.c | 293 * 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 D | classq_rio.h | 100 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 D | testlib.tcl | 79 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 D | cmds.c | 178 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 D | timer_jitter.c | 191 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 D | nfswizard.d | 63 @avgtime = avg(this->elapsed);
|
/macosx-10.9.5/dtrace-118.1/DTTk/Bin/ |
H A D | nfswizard.d | 63 @avgtime = avg(this->elapsed);
|
/macosx-10.9.5/xnu-2422.115.4/tools/tests/zero-to-n/ |
H A D | zero-to-n.c | 415 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 D | test_yaml.rb | 97 { '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 D | kern_synch.c | 449 struct loadavg *avg = &averunnable; local 453 avg->ldavg[i] = (cexp[i] * avg->ldavg[i] +
|