dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / dtrace / test / tst / common / multiaggs / tst.many.d
blob00588c66d78972e631782368669a9a1b0e714f93
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
19 * CDDL HEADER END
23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #pragma ident "%Z%%M% %I% %E% SMI"
29 #pragma D option destructive
30 #pragma D option quiet
32 BEGIN
33 /0/
35 @agg996[996] = quantize(998);
36 @agg997[997] = count();
37 @agg998[998] = min(998);
38 @agg999[999] = lquantize(0, -10, 10, 1);
41 BEGIN
43 @agg0[0] = sum(0);
44 @agg1[1] = sum(1);
45 @agg2[2] = sum(2);
46 @agg3[3] = sum(3);
47 @agg4[4] = sum(4);
48 @agg5[5] = sum(5);
49 @agg6[6] = sum(6);
50 @agg7[7] = sum(7);
51 @agg8[8] = sum(8);
52 @agg9[9] = sum(9);
53 @agg10[10] = sum(10);
54 @agg11[11] = sum(11);
55 @agg12[12] = sum(12);
56 @agg13[13] = sum(13);
57 @agg14[14] = sum(14);
58 @agg15[15] = sum(15);
59 @agg16[16] = sum(16);
60 @agg17[17] = sum(17);
61 @agg18[18] = sum(18);
62 @agg19[19] = sum(19);
63 @agg20[20] = sum(20);
64 @agg21[21] = sum(21);
65 @agg22[22] = sum(22);
66 @agg23[23] = sum(23);
67 @agg24[24] = sum(24);
68 @agg25[25] = sum(25);
69 @agg26[26] = sum(26);
70 @agg27[27] = sum(27);
71 @agg28[28] = sum(28);
72 @agg29[29] = sum(29);
73 @agg30[30] = sum(30);
74 @agg31[31] = sum(31);
75 @agg32[32] = sum(32);
76 @agg33[33] = sum(33);
77 @agg34[34] = sum(34);
78 @agg35[35] = sum(35);
79 @agg36[36] = sum(36);
80 @agg37[37] = sum(37);
81 @agg38[38] = sum(38);
82 @agg39[39] = sum(39);
83 @agg40[40] = sum(40);
84 @agg41[41] = sum(41);
85 @agg42[42] = sum(42);
86 @agg43[43] = sum(43);
87 @agg44[44] = sum(44);
88 @agg45[45] = sum(45);
89 @agg46[46] = sum(46);
90 @agg47[47] = sum(47);
91 @agg48[48] = sum(48);
92 @agg49[49] = sum(49);
93 @agg50[50] = sum(50);
94 @agg51[51] = sum(51);
95 @agg52[52] = sum(52);
96 @agg53[53] = sum(53);
97 @agg54[54] = sum(54);
98 @agg55[55] = sum(55);
99 @agg56[56] = sum(56);
100 @agg57[57] = sum(57);
101 @agg58[58] = sum(58);
102 @agg59[59] = sum(59);
103 @agg60[60] = sum(60);
104 @agg61[61] = sum(61);
105 @agg62[62] = sum(62);
106 @agg63[63] = sum(63);
107 @agg64[64] = sum(64);
108 @agg65[65] = sum(65);
109 @agg66[66] = sum(66);
110 @agg67[67] = sum(67);
111 @agg68[68] = sum(68);
112 @agg69[69] = sum(69);
113 @agg70[70] = sum(70);
114 @agg71[71] = sum(71);
115 @agg72[72] = sum(72);
116 @agg73[73] = sum(73);
117 @agg74[74] = sum(74);
118 @agg75[75] = sum(75);
119 @agg76[76] = sum(76);
120 @agg77[77] = sum(77);
121 @agg78[78] = sum(78);
122 @agg79[79] = sum(79);
123 @agg80[80] = sum(80);
124 @agg81[81] = sum(81);
125 @agg82[82] = sum(82);
126 @agg83[83] = sum(83);
127 @agg84[84] = sum(84);
128 @agg85[85] = sum(85);
129 @agg86[86] = sum(86);
130 @agg87[87] = sum(87);
131 @agg88[88] = sum(88);
132 @agg89[89] = sum(89);
133 @agg90[90] = sum(90);
134 @agg91[91] = sum(91);
135 @agg92[92] = sum(92);
136 @agg93[93] = sum(93);
137 @agg94[94] = sum(94);
138 @agg95[95] = sum(95);
139 @agg96[96] = sum(96);
140 @agg97[97] = sum(97);
141 @agg98[98] = sum(98);
142 @agg99[99] = sum(99);
143 @agg100[100] = sum(100);
144 @agg101[101] = sum(101);
145 @agg102[102] = sum(102);
146 @agg103[103] = sum(103);
147 @agg104[104] = sum(104);
148 @agg105[105] = sum(105);
149 @agg106[106] = sum(106);
150 @agg107[107] = sum(107);
151 @agg108[108] = sum(108);
152 @agg109[109] = sum(109);
153 @agg110[110] = sum(110);
154 @agg111[111] = sum(111);
155 @agg112[112] = sum(112);
156 @agg113[113] = sum(113);
157 @agg114[114] = sum(114);
158 @agg115[115] = sum(115);
159 @agg116[116] = sum(116);
160 @agg117[117] = sum(117);
161 @agg118[118] = sum(118);
162 @agg119[119] = sum(119);
163 @agg120[120] = sum(120);
164 @agg121[121] = sum(121);
165 @agg122[122] = sum(122);
166 @agg123[123] = sum(123);
167 @agg124[124] = sum(124);
168 @agg125[125] = sum(125);
169 @agg126[126] = sum(126);
170 @agg127[127] = sum(127);
171 @agg128[128] = sum(128);
172 @agg129[129] = sum(129);
173 @agg130[130] = sum(130);
174 @agg131[131] = sum(131);
175 @agg132[132] = sum(132);
176 @agg133[133] = sum(133);
177 @agg134[134] = sum(134);
178 @agg135[135] = sum(135);
179 @agg136[136] = sum(136);
180 @agg137[137] = sum(137);
181 @agg138[138] = sum(138);
182 @agg139[139] = sum(139);
183 @agg140[140] = sum(140);
184 @agg141[141] = sum(141);
185 @agg142[142] = sum(142);
186 @agg143[143] = sum(143);
187 @agg144[144] = sum(144);
188 @agg145[145] = sum(145);
189 @agg146[146] = sum(146);
190 @agg147[147] = sum(147);
191 @agg148[148] = sum(148);
192 @agg149[149] = sum(149);
193 @agg150[150] = sum(150);
194 @agg151[151] = sum(151);
195 @agg152[152] = sum(152);
196 @agg153[153] = sum(153);
197 @agg154[154] = sum(154);
198 @agg155[155] = sum(155);
199 @agg156[156] = sum(156);
200 @agg157[157] = sum(157);
201 @agg158[158] = sum(158);
202 @agg159[159] = sum(159);
203 @agg160[160] = sum(160);
204 @agg161[161] = sum(161);
205 @agg162[162] = sum(162);
206 @agg163[163] = sum(163);
207 @agg164[164] = sum(164);
208 @agg165[165] = sum(165);
209 @agg166[166] = sum(166);
210 @agg167[167] = sum(167);
211 @agg168[168] = sum(168);
212 @agg169[169] = sum(169);
213 @agg170[170] = sum(170);
214 @agg171[171] = sum(171);
215 @agg172[172] = sum(172);
216 @agg173[173] = sum(173);
217 @agg174[174] = sum(174);
218 @agg175[175] = sum(175);
219 @agg176[176] = sum(176);
220 @agg177[177] = sum(177);
221 @agg178[178] = sum(178);
222 @agg179[179] = sum(179);
223 @agg180[180] = sum(180);
224 @agg181[181] = sum(181);
225 @agg182[182] = sum(182);
226 @agg183[183] = sum(183);
227 @agg184[184] = sum(184);
228 @agg185[185] = sum(185);
229 @agg186[186] = sum(186);
230 @agg187[187] = sum(187);
231 @agg188[188] = sum(188);
232 @agg189[189] = sum(189);
233 @agg190[190] = sum(190);
234 @agg191[191] = sum(191);
235 @agg192[192] = sum(192);
236 @agg193[193] = sum(193);
237 @agg194[194] = sum(194);
238 @agg195[195] = sum(195);
239 @agg196[196] = sum(196);
240 @agg197[197] = sum(197);
241 @agg198[198] = sum(198);
242 @agg199[199] = sum(199);
243 @agg200[200] = sum(200);
244 @agg201[201] = sum(201);
245 @agg202[202] = sum(202);
246 @agg203[203] = sum(203);
247 @agg204[204] = sum(204);
248 @agg205[205] = sum(205);
249 @agg206[206] = sum(206);
250 @agg207[207] = sum(207);
251 @agg208[208] = sum(208);
252 @agg209[209] = sum(209);
253 @agg210[210] = sum(210);
254 @agg211[211] = sum(211);
255 @agg212[212] = sum(212);
256 @agg213[213] = sum(213);
257 @agg214[214] = sum(214);
258 @agg215[215] = sum(215);
259 @agg216[216] = sum(216);
260 @agg217[217] = sum(217);
261 @agg218[218] = sum(218);
262 @agg219[219] = sum(219);
263 @agg220[220] = sum(220);
264 @agg221[221] = sum(221);
265 @agg222[222] = sum(222);
266 @agg223[223] = sum(223);
267 @agg224[224] = sum(224);
268 @agg225[225] = sum(225);
269 @agg226[226] = sum(226);
270 @agg227[227] = sum(227);
271 @agg228[228] = sum(228);
272 @agg229[229] = sum(229);
273 @agg230[230] = sum(230);
274 @agg231[231] = sum(231);
275 @agg232[232] = sum(232);
276 @agg233[233] = sum(233);
277 @agg234[234] = sum(234);
278 @agg235[235] = sum(235);
279 @agg236[236] = sum(236);
280 @agg237[237] = sum(237);
281 @agg238[238] = sum(238);
282 @agg239[239] = sum(239);
283 @agg240[240] = sum(240);
284 @agg241[241] = sum(241);
285 @agg242[242] = sum(242);
286 @agg243[243] = sum(243);
287 @agg244[244] = sum(244);
288 @agg245[245] = sum(245);
289 @agg246[246] = sum(246);
291 printa("%8d %8@d %8@d\n", @agg0, @agg1);
292 printf("\n");
294 printa("%8d %8@d %8@d\n", @agg0, @agg996);
295 printf("\n");
297 printa("%4d %4@d %4@d %4@d %4@d %4@d %4@d %4@d %4@d %4@d %4@d %4@d\n",
298 @agg12, @agg3, @agg73, @agg997,
299 @agg9, @agg9, @agg4, @agg998,
300 @agg11, @agg23, @agg69);
302 printf("\n");
304 printa("%8d %8@d %8@d\n", @agg245, @agg246);
305 printf("\n");
307 printa("%8d %8@d %8@d\n", @agg999, @agg246);
308 printf("\n");
310 exit(0);