Home
last modified time | relevance | path

Searched refs:avg (Results 1 – 25 of 29) sorted by relevance

12

/titanic_41/usr/src/lib/libsqlite/test/
H A Dselect3.test47 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 Dselect6.test174 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 Dselect5.test90 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 Dnull.test105 avg(b), avg(c), min(b), max(b) from t1;
H A Dmalloc.test53 SELECT avg(b) FROM t1 GROUP BY a HAVING b>20.0;
H A Dfunc.test256 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 DStddevValue.java122 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 Dtst.avg_neg.d43 @ = avg(0);
44 @ = avg(-900);
H A Derr.D_PROTO_LEN.avgnoarg.d42 @a[1] = avg();
H A Derr.D_PROTO_LEN.avgtoomany.d42 @a[1] = avg(1, 2);
H A Derr.D_AGG_SCALAR.avgtoofew.d41 @a[pid] = avg(probefunc);
H A Dtst.avg.d49 @a = avg(i);
H A Dtst.clearavg.d47 @a = avg(timestamp);
H A Dtst.clearavg2.d49 @time = avg(0);
H A Dtst.multiaggs2.d46 @a = avg(i);
H A Dtst.multiaggs3.d50 @b = avg(i);
H A Dtst.multiaggs1.d50 @c[pid] = avg(new_time);
/titanic_41/usr/src/cmd/dtrace/demo/agg/
H A Dwritetime.d35 @time[execname] = avg(timestamp - self->ts);
/titanic_41/usr/src/cmd/powertop/common/
H A Ddisplay.c403 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 Derr.D_AGG_SPEC.SpeculateWithAvg.d49 @avrg["speculate"] = avg(i);
/titanic_41/usr/src/cmd/dtrace/test/tst/common/printa/
H A Dtst.basics.d39 @a = avg(1);
/titanic_41/usr/src/cmd/plockstat/
H A Dplockstat.c549 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 Dlockstat.c902 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 Dclock.c1051 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 Ddtrace.c2025 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()

12