/titanic_41/usr/src/lib/libsqlite/test/ |
H A D | select3.test | 47 SELECT min(n),min(log),max(n),max(log),sum(n),sum(log),avg(n),avg(log) 52 execsql {SELECT max(n)/avg(n), max(log)/avg(log) FROM t1} 64 execsql {SELECT log, avg(n) FROM t1 GROUP BY log ORDER BY log} 67 execsql {SELECT log, avg(n)+1 FROM t1 GROUP BY log ORDER BY log} 70 execsql {SELECT log, avg(n)-min(n) FROM t1 GROUP BY log ORDER BY log} 73 execsql {SELECT log*2+1, avg(n)-min(n) FROM t1 GROUP BY log ORDER BY log} 168 SELECT log, count(*), avg(n), max(n+log*2) FROM t1 170 ORDER BY max(n+log*2), avg(n) 175 SELECT log, count(*), avg(n), max(n+log*2) FROM t1 177 ORDER BY max(n+log*2), min(log,avg(n))
|
H A D | select6.test | 174 SELECT a,b,a+b FROM (SELECT avg(x) as 'a', avg(y) as 'b' FROM t1) 179 SELECT a,b,a+b FROM (SELECT avg(x) as 'a', avg(y) as 'b' FROM t1 WHERE y=4) 184 SELECT x,y,x+y FROM (SELECT avg(a) as 'x', avg(b) as 'y' FROM t2 WHERE a=4) 189 SELECT a,b,a+b FROM (SELECT avg(x) as 'a', avg(y) as 'b' FROM t1) 195 SELECT a,b,a+b FROM (SELECT avg(x) as 'a', avg(y) as 'b' FROM t1) 201 SELECT a,b,a+b FROM (SELECT avg(x) as 'a', avg(y) as 'b' FROM t1 WHERE y=4) 207 SELECT a,b,a+b FROM (SELECT avg(x) as 'a', avg(y) as 'b' FROM t1 WHERE y=4) 213 SELECT a,b,a+b FROM (SELECT avg(x) as 'a', y as 'b' FROM t1 GROUP BY b) 220 (SELECT avg(x) as 'a', y as 'b' FROM t1 GROUP BY b) 227 (SELECT avg(x) as 'a', y as 'b' FROM t1 GROUP BY b HAVING a>1) [all …]
|
H A D | select5.test | 90 SELECT x, count(*), avg(y) FROM t1 GROUP BY x HAVING x<4 ORDER BY x 98 SELECT avg(x) FROM t1 WHERE x>100
|
H A D | null.test | 105 avg(b), avg(c), min(b), max(b) from t1;
|
H A D | malloc.test | 53 SELECT avg(b) FROM t1 GROUP BY a HAVING b>20.0;
|
H A D | func.test | 256 SELECT sum(a), count(a), round(avg(a),2), min(a), max(a), count(*) FROM t2;
|
/titanic_41/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | StddevValue.java | 122 long avg = (stddevTotal / stddevCount); in standardDeviation() local 123 if (avg < 0) { in standardDeviation() 124 avg = -avg; in standardDeviation() 126 BigInteger squareOfAverage = BigInteger.valueOf(avg); in standardDeviation()
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.avg_neg.d | 43 @ = avg(0); 44 @ = avg(-900);
|
H A D | err.D_PROTO_LEN.avgnoarg.d | 42 @a[1] = avg();
|
H A D | err.D_PROTO_LEN.avgtoomany.d | 42 @a[1] = avg(1, 2);
|
H A D | err.D_AGG_SCALAR.avgtoofew.d | 41 @a[pid] = avg(probefunc);
|
H A D | tst.avg.d | 49 @a = avg(i);
|
H A D | tst.clearavg.d | 47 @a = avg(timestamp);
|
H A D | tst.clearavg2.d | 49 @time = avg(0);
|
H A D | tst.multiaggs2.d | 46 @a = avg(i);
|
H A D | tst.multiaggs3.d | 50 @b = avg(i);
|
H A D | tst.multiaggs1.d | 50 @c[pid] = avg(new_time);
|
/titanic_41/usr/src/cmd/dtrace/demo/agg/ |
H A D | writetime.d | 35 @time[execname] = avg(timestamp - self->ts);
|
/titanic_41/usr/src/cmd/powertop/common/ |
H A D | display.c | 403 double total_pstates = 0.0, avg, res; in pt_display_states() local 420 avg = (((double)g_cstate_info[i].total_time/ in pt_display_states() 423 avg = 0; in pt_display_states() 429 i, (float)avg, (float)res); in pt_display_states()
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/speculation/ |
H A D | err.D_AGG_SPEC.SpeculateWithAvg.d | 49 @avrg["speculate"] = avg(i);
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/printa/ |
H A D | tst.basics.d | 39 @a = avg(1);
|
/titanic_41/usr/src/cmd/plockstat/ |
H A D | plockstat.c | 549 uint64_t sum, count, avg; in process_aggregate() local 586 avg = sum / count; in process_aggregate() 587 (void) printf("%5llu %8llu ", (u_longlong_t)count, (u_longlong_t)avg); in process_aggregate()
|
/titanic_41/usr/src/cmd/lockstat/ |
H A D | lockstat.c | 902 uint64_t *avg, *quantized; in process_aggregate() local 949 avg = (uint64_t *)(data + rec->dtrd_offset); in process_aggregate() 950 lsrec->ls_count = (uint32_t)avg[0]; in process_aggregate() 951 lsrec->ls_time = (uintptr_t)avg[1]; in process_aggregate()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | clock.c | 1051 int avg; in genloadavg() local 1072 avg = hr_avg / (NANOSEC / LGRP_LOADAVG_IN_THREAD_MAX); in genloadavg() 1074 return (avg); in genloadavg()
|
/titanic_41/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dtrace.c | 2025 double avg; in dtrace_hashstat_stats() local 2051 avg = (double)ttl / (double)nz; in dtrace_hashstat_stats() 2054 double delta = (double)data->dthsd_counts[i] - avg; in dtrace_hashstat_stats()
|