author | sl@SLION-WIN7.fritz.box |
Fri, 15 Jun 2012 03:10:57 +0200 | |
changeset 0 | bde4ae8d615e |
permissions | -rw-r--r-- |
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
7 //
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
10 //
11 // Contributors:
12 //
13 // Description:
14 // f32test\demandpaging\t_pagestress.h
15 //
16 //
18 #ifndef _T_PAGESTRESS_H_
19 #define _T_PAGESTRESS_H_
21 #ifndef T_PAGESTRESS_SMALL_ARRAY
22 #define T_PAGESTRESS_LARGE_ARRAY
23 #endif
25 TInt TestAlignment(TInt aParam1, TInt aParam2);
26 TInt CallTestFunc(TInt aParam1, TInt aParam2, TInt aIndex);
28 #define TPS_DECLARE_PROTO(_num) TInt TestAlignment##_num(TInt aParam1, TInt aParam2);
30 TPS_DECLARE_PROTO(0)
31 TPS_DECLARE_PROTO(1)
32 TPS_DECLARE_PROTO(2)
33 TPS_DECLARE_PROTO(3)
34 TPS_DECLARE_PROTO(4)
35 TPS_DECLARE_PROTO(5)
36 TPS_DECLARE_PROTO(6)
37 TPS_DECLARE_PROTO(7)
38 TPS_DECLARE_PROTO(8)
39 TPS_DECLARE_PROTO(9)
40 TPS_DECLARE_PROTO(10)
41 TPS_DECLARE_PROTO(11)
42 TPS_DECLARE_PROTO(12)
43 TPS_DECLARE_PROTO(13)
44 TPS_DECLARE_PROTO(14)
45 TPS_DECLARE_PROTO(15)
46 TPS_DECLARE_PROTO(16)
47 TPS_DECLARE_PROTO(17)
48 TPS_DECLARE_PROTO(18)
49 TPS_DECLARE_PROTO(19)
50 TPS_DECLARE_PROTO(20)
51 TPS_DECLARE_PROTO(21)
52 TPS_DECLARE_PROTO(22)
53 TPS_DECLARE_PROTO(23)
54 TPS_DECLARE_PROTO(24)
55 TPS_DECLARE_PROTO(25)
56 TPS_DECLARE_PROTO(26)
57 TPS_DECLARE_PROTO(27)
58 TPS_DECLARE_PROTO(28)
59 TPS_DECLARE_PROTO(29)
60 TPS_DECLARE_PROTO(30)
61 TPS_DECLARE_PROTO(31)
62 TPS_DECLARE_PROTO(32)
63 TPS_DECLARE_PROTO(33)
64 TPS_DECLARE_PROTO(34)
65 TPS_DECLARE_PROTO(35)
66 TPS_DECLARE_PROTO(36)
67 TPS_DECLARE_PROTO(37)
68 TPS_DECLARE_PROTO(38)
69 TPS_DECLARE_PROTO(39)
70 TPS_DECLARE_PROTO(40)
71 TPS_DECLARE_PROTO(41)
72 TPS_DECLARE_PROTO(42)
73 TPS_DECLARE_PROTO(43)
74 TPS_DECLARE_PROTO(44)
75 TPS_DECLARE_PROTO(45)
76 TPS_DECLARE_PROTO(46)
77 TPS_DECLARE_PROTO(47)
78 TPS_DECLARE_PROTO(48)
79 TPS_DECLARE_PROTO(49)
80 TPS_DECLARE_PROTO(50)
81 TPS_DECLARE_PROTO(51)
82 TPS_DECLARE_PROTO(52)
83 TPS_DECLARE_PROTO(53)
84 TPS_DECLARE_PROTO(54)
85 TPS_DECLARE_PROTO(55)
86 TPS_DECLARE_PROTO(56)
87 TPS_DECLARE_PROTO(57)
88 TPS_DECLARE_PROTO(58)
89 TPS_DECLARE_PROTO(59)
90 TPS_DECLARE_PROTO(60)
91 TPS_DECLARE_PROTO(61)
92 TPS_DECLARE_PROTO(62)
93 TPS_DECLARE_PROTO(63)
94 #ifdef T_PAGESTRESS_LARGE_ARRAY
95 TPS_DECLARE_PROTO(64)
96 TPS_DECLARE_PROTO(65)
97 TPS_DECLARE_PROTO(66)
98 TPS_DECLARE_PROTO(67)
99 TPS_DECLARE_PROTO(68)
100 TPS_DECLARE_PROTO(69)
101 TPS_DECLARE_PROTO(70)
102 TPS_DECLARE_PROTO(71)
103 TPS_DECLARE_PROTO(72)
104 TPS_DECLARE_PROTO(73)
105 TPS_DECLARE_PROTO(74)
106 TPS_DECLARE_PROTO(75)
107 TPS_DECLARE_PROTO(76)
108 TPS_DECLARE_PROTO(77)
109 TPS_DECLARE_PROTO(78)
110 TPS_DECLARE_PROTO(79)
111 TPS_DECLARE_PROTO(80)
112 TPS_DECLARE_PROTO(81)
113 TPS_DECLARE_PROTO(82)
114 TPS_DECLARE_PROTO(83)
115 TPS_DECLARE_PROTO(84)
116 TPS_DECLARE_PROTO(85)
117 TPS_DECLARE_PROTO(86)
118 TPS_DECLARE_PROTO(87)
119 TPS_DECLARE_PROTO(88)
120 TPS_DECLARE_PROTO(89)
121 TPS_DECLARE_PROTO(90)
122 TPS_DECLARE_PROTO(91)
123 TPS_DECLARE_PROTO(92)
124 TPS_DECLARE_PROTO(93)
125 TPS_DECLARE_PROTO(94)
126 TPS_DECLARE_PROTO(95)
127 TPS_DECLARE_PROTO(96)
128 TPS_DECLARE_PROTO(97)
129 TPS_DECLARE_PROTO(98)
130 TPS_DECLARE_PROTO(99)
131 TPS_DECLARE_PROTO(100)
132 TPS_DECLARE_PROTO(101)
133 TPS_DECLARE_PROTO(102)
134 TPS_DECLARE_PROTO(103)
135 TPS_DECLARE_PROTO(104)
136 TPS_DECLARE_PROTO(105)
137 TPS_DECLARE_PROTO(106)
138 TPS_DECLARE_PROTO(107)
139 TPS_DECLARE_PROTO(108)
140 TPS_DECLARE_PROTO(109)
141 TPS_DECLARE_PROTO(110)
142 TPS_DECLARE_PROTO(111)
143 TPS_DECLARE_PROTO(112)
144 TPS_DECLARE_PROTO(113)
145 TPS_DECLARE_PROTO(114)
146 TPS_DECLARE_PROTO(115)
147 TPS_DECLARE_PROTO(116)
148 TPS_DECLARE_PROTO(117)
149 TPS_DECLARE_PROTO(118)
150 TPS_DECLARE_PROTO(119)
151 TPS_DECLARE_PROTO(120)
152 TPS_DECLARE_PROTO(121)
153 TPS_DECLARE_PROTO(122)
154 TPS_DECLARE_PROTO(123)
155 TPS_DECLARE_PROTO(124)
156 TPS_DECLARE_PROTO(125)
157 TPS_DECLARE_PROTO(126)
158 TPS_DECLARE_PROTO(127)
159 TPS_DECLARE_PROTO(128)
160 TPS_DECLARE_PROTO(129)
161 TPS_DECLARE_PROTO(130)
162 TPS_DECLARE_PROTO(131)
163 TPS_DECLARE_PROTO(132)
164 TPS_DECLARE_PROTO(133)
165 TPS_DECLARE_PROTO(134)
166 TPS_DECLARE_PROTO(135)
167 TPS_DECLARE_PROTO(136)
168 TPS_DECLARE_PROTO(137)
169 TPS_DECLARE_PROTO(138)
170 TPS_DECLARE_PROTO(139)
171 TPS_DECLARE_PROTO(140)
172 TPS_DECLARE_PROTO(141)
173 TPS_DECLARE_PROTO(142)
174 TPS_DECLARE_PROTO(143)
175 TPS_DECLARE_PROTO(144)
176 TPS_DECLARE_PROTO(145)
177 TPS_DECLARE_PROTO(146)
178 TPS_DECLARE_PROTO(147)
179 TPS_DECLARE_PROTO(148)
180 TPS_DECLARE_PROTO(149)
181 TPS_DECLARE_PROTO(150)
182 TPS_DECLARE_PROTO(151)
183 TPS_DECLARE_PROTO(152)
184 TPS_DECLARE_PROTO(153)
185 TPS_DECLARE_PROTO(154)
186 TPS_DECLARE_PROTO(155)
187 TPS_DECLARE_PROTO(156)
188 TPS_DECLARE_PROTO(157)
189 TPS_DECLARE_PROTO(158)
190 TPS_DECLARE_PROTO(159)
191 TPS_DECLARE_PROTO(160)
192 TPS_DECLARE_PROTO(161)
193 TPS_DECLARE_PROTO(162)
194 TPS_DECLARE_PROTO(163)
195 TPS_DECLARE_PROTO(164)
196 TPS_DECLARE_PROTO(165)
197 TPS_DECLARE_PROTO(166)
198 TPS_DECLARE_PROTO(167)
199 TPS_DECLARE_PROTO(168)
200 TPS_DECLARE_PROTO(169)
201 TPS_DECLARE_PROTO(170)
202 TPS_DECLARE_PROTO(171)
203 TPS_DECLARE_PROTO(172)
204 TPS_DECLARE_PROTO(173)
205 TPS_DECLARE_PROTO(174)
206 TPS_DECLARE_PROTO(175)
207 TPS_DECLARE_PROTO(176)
208 TPS_DECLARE_PROTO(177)
209 TPS_DECLARE_PROTO(178)
210 TPS_DECLARE_PROTO(179)
211 TPS_DECLARE_PROTO(180)
212 TPS_DECLARE_PROTO(181)
213 TPS_DECLARE_PROTO(182)
214 TPS_DECLARE_PROTO(183)
215 TPS_DECLARE_PROTO(184)
216 TPS_DECLARE_PROTO(185)
217 TPS_DECLARE_PROTO(186)
218 TPS_DECLARE_PROTO(187)
219 TPS_DECLARE_PROTO(188)
220 TPS_DECLARE_PROTO(189)
221 TPS_DECLARE_PROTO(190)
222 TPS_DECLARE_PROTO(191)
223 TPS_DECLARE_PROTO(192)
224 TPS_DECLARE_PROTO(193)
225 TPS_DECLARE_PROTO(194)
226 TPS_DECLARE_PROTO(195)
227 TPS_DECLARE_PROTO(196)
228 TPS_DECLARE_PROTO(197)
229 TPS_DECLARE_PROTO(198)
230 TPS_DECLARE_PROTO(199)
231 TPS_DECLARE_PROTO(200)
232 TPS_DECLARE_PROTO(201)
233 TPS_DECLARE_PROTO(202)
234 TPS_DECLARE_PROTO(203)
235 TPS_DECLARE_PROTO(204)
236 TPS_DECLARE_PROTO(205)
237 TPS_DECLARE_PROTO(206)
238 TPS_DECLARE_PROTO(207)
239 TPS_DECLARE_PROTO(208)
240 TPS_DECLARE_PROTO(209)
241 TPS_DECLARE_PROTO(210)
242 TPS_DECLARE_PROTO(211)
243 TPS_DECLARE_PROTO(212)
244 TPS_DECLARE_PROTO(213)
245 TPS_DECLARE_PROTO(214)
246 TPS_DECLARE_PROTO(215)
247 TPS_DECLARE_PROTO(216)
248 TPS_DECLARE_PROTO(217)
249 TPS_DECLARE_PROTO(218)
250 TPS_DECLARE_PROTO(219)
251 TPS_DECLARE_PROTO(220)
252 TPS_DECLARE_PROTO(221)
253 TPS_DECLARE_PROTO(222)
254 TPS_DECLARE_PROTO(223)
255 TPS_DECLARE_PROTO(224)
256 TPS_DECLARE_PROTO(225)
257 TPS_DECLARE_PROTO(226)
258 TPS_DECLARE_PROTO(227)
259 TPS_DECLARE_PROTO(228)
260 TPS_DECLARE_PROTO(229)
261 TPS_DECLARE_PROTO(230)
262 TPS_DECLARE_PROTO(231)
263 TPS_DECLARE_PROTO(232)
264 TPS_DECLARE_PROTO(233)
265 TPS_DECLARE_PROTO(234)
266 TPS_DECLARE_PROTO(235)
267 TPS_DECLARE_PROTO(236)
268 TPS_DECLARE_PROTO(237)
269 TPS_DECLARE_PROTO(238)
270 TPS_DECLARE_PROTO(239)
271 TPS_DECLARE_PROTO(240)
272 TPS_DECLARE_PROTO(241)
273 TPS_DECLARE_PROTO(242)
274 TPS_DECLARE_PROTO(243)
275 TPS_DECLARE_PROTO(244)
276 TPS_DECLARE_PROTO(245)
277 TPS_DECLARE_PROTO(246)
278 TPS_DECLARE_PROTO(247)
279 TPS_DECLARE_PROTO(248)
280 TPS_DECLARE_PROTO(249)
281 TPS_DECLARE_PROTO(250)
282 TPS_DECLARE_PROTO(251)
283 TPS_DECLARE_PROTO(252)
284 TPS_DECLARE_PROTO(253)
285 TPS_DECLARE_PROTO(254)
286 TPS_DECLARE_PROTO(255)
287 #endif //T_PAGESTRESS_LARGE_ARRAY
289 typedef TInt TpsFuncPtr(TInt aParam1, TInt aParam2);
291 #ifdef TPS_DECLARE_ARRAY
293 #define TPS_FUNC(_num) &TestAlignment##_num
295 TpsFuncPtr * PagestressFuncPtrs[] =
296 {
297 TPS_FUNC(0),
298 TPS_FUNC(1),
299 TPS_FUNC(2),
300 TPS_FUNC(3),
301 TPS_FUNC(4),
302 TPS_FUNC(5),
303 TPS_FUNC(6),
304 TPS_FUNC(7),
305 TPS_FUNC(8),
306 TPS_FUNC(9),
307 TPS_FUNC(10),
308 TPS_FUNC(11),
309 TPS_FUNC(12),
310 TPS_FUNC(13),
311 TPS_FUNC(14),
312 TPS_FUNC(15),
313 TPS_FUNC(16),
314 TPS_FUNC(17),
315 TPS_FUNC(18),
316 TPS_FUNC(19),
317 TPS_FUNC(20),
318 TPS_FUNC(21),
319 TPS_FUNC(22),
320 TPS_FUNC(23),
321 TPS_FUNC(24),
322 TPS_FUNC(25),
323 TPS_FUNC(26),
324 TPS_FUNC(27),
325 TPS_FUNC(28),
326 TPS_FUNC(29),
327 TPS_FUNC(30),
328 TPS_FUNC(31),
329 TPS_FUNC(32),
330 TPS_FUNC(33),
331 TPS_FUNC(34),
332 TPS_FUNC(35),
333 TPS_FUNC(36),
334 TPS_FUNC(37),
335 TPS_FUNC(38),
336 TPS_FUNC(39),
337 TPS_FUNC(40),
338 TPS_FUNC(41),
339 TPS_FUNC(42),
340 TPS_FUNC(43),
341 TPS_FUNC(44),
342 TPS_FUNC(45),
343 TPS_FUNC(46),
344 TPS_FUNC(47),
345 TPS_FUNC(48),
346 TPS_FUNC(49),
347 TPS_FUNC(50),
348 TPS_FUNC(51),
349 TPS_FUNC(52),
350 TPS_FUNC(53),
351 TPS_FUNC(54),
352 TPS_FUNC(55),
353 TPS_FUNC(56),
354 TPS_FUNC(57),
355 TPS_FUNC(58),
356 TPS_FUNC(59),
357 TPS_FUNC(60),
358 TPS_FUNC(61),
359 TPS_FUNC(62),
360 TPS_FUNC(63),
361 #ifdef T_PAGESTRESS_LARGE_ARRAY
362 TPS_FUNC(64),
363 TPS_FUNC(65),
364 TPS_FUNC(66),
365 TPS_FUNC(67),
366 TPS_FUNC(68),
367 TPS_FUNC(69),
368 TPS_FUNC(70),
369 TPS_FUNC(71),
370 TPS_FUNC(72),
371 TPS_FUNC(73),
372 TPS_FUNC(74),
373 TPS_FUNC(75),
374 TPS_FUNC(76),
375 TPS_FUNC(77),
376 TPS_FUNC(78),
377 TPS_FUNC(79),
378 TPS_FUNC(80),
379 TPS_FUNC(81),
380 TPS_FUNC(82),
381 TPS_FUNC(83),
382 TPS_FUNC(84),
383 TPS_FUNC(85),
384 TPS_FUNC(86),
385 TPS_FUNC(87),
386 TPS_FUNC(88),
387 TPS_FUNC(89),
388 TPS_FUNC(90),
389 TPS_FUNC(91),
390 TPS_FUNC(92),
391 TPS_FUNC(93),
392 TPS_FUNC(94),
393 TPS_FUNC(95),
394 TPS_FUNC(96),
395 TPS_FUNC(97),
396 TPS_FUNC(98),
397 TPS_FUNC(99),
398 TPS_FUNC(100),
399 TPS_FUNC(101),
400 TPS_FUNC(102),
401 TPS_FUNC(103),
402 TPS_FUNC(104),
403 TPS_FUNC(105),
404 TPS_FUNC(106),
405 TPS_FUNC(107),
406 TPS_FUNC(108),
407 TPS_FUNC(109),
408 TPS_FUNC(110),
409 TPS_FUNC(111),
410 TPS_FUNC(112),
411 TPS_FUNC(113),
412 TPS_FUNC(114),
413 TPS_FUNC(115),
414 TPS_FUNC(116),
415 TPS_FUNC(117),
416 TPS_FUNC(118),
417 TPS_FUNC(119),
418 TPS_FUNC(120),
419 TPS_FUNC(121),
420 TPS_FUNC(122),
421 TPS_FUNC(123),
422 TPS_FUNC(124),
423 TPS_FUNC(125),
424 TPS_FUNC(126),
425 TPS_FUNC(127),
426 TPS_FUNC(128),
427 TPS_FUNC(129),
428 TPS_FUNC(130),
429 TPS_FUNC(131),
430 TPS_FUNC(132),
431 TPS_FUNC(133),
432 TPS_FUNC(134),
433 TPS_FUNC(135),
434 TPS_FUNC(136),
435 TPS_FUNC(137),
436 TPS_FUNC(138),
437 TPS_FUNC(139),
438 TPS_FUNC(140),
439 TPS_FUNC(141),
440 TPS_FUNC(142),
441 TPS_FUNC(143),
442 TPS_FUNC(144),
443 TPS_FUNC(145),
444 TPS_FUNC(146),
445 TPS_FUNC(147),
446 TPS_FUNC(148),
447 TPS_FUNC(149),
448 TPS_FUNC(150),
449 TPS_FUNC(151),
450 TPS_FUNC(152),
451 TPS_FUNC(153),
452 TPS_FUNC(154),
453 TPS_FUNC(155),
454 TPS_FUNC(156),
455 TPS_FUNC(157),
456 TPS_FUNC(158),
457 TPS_FUNC(159),
458 TPS_FUNC(160),
459 TPS_FUNC(161),
460 TPS_FUNC(162),
461 TPS_FUNC(163),
462 TPS_FUNC(164),
463 TPS_FUNC(165),
464 TPS_FUNC(166),
465 TPS_FUNC(167),
466 TPS_FUNC(168),
467 TPS_FUNC(169),
468 TPS_FUNC(170),
469 TPS_FUNC(171),
470 TPS_FUNC(172),
471 TPS_FUNC(173),
472 TPS_FUNC(174),
473 TPS_FUNC(175),
474 TPS_FUNC(176),
475 TPS_FUNC(177),
476 TPS_FUNC(178),
477 TPS_FUNC(179),
478 TPS_FUNC(180),
479 TPS_FUNC(181),
480 TPS_FUNC(182),
481 TPS_FUNC(183),
482 TPS_FUNC(184),
483 TPS_FUNC(185),
484 TPS_FUNC(186),
485 TPS_FUNC(187),
486 TPS_FUNC(188),
487 TPS_FUNC(189),
488 TPS_FUNC(190),
489 TPS_FUNC(191),
490 TPS_FUNC(192),
491 TPS_FUNC(193),
492 TPS_FUNC(194),
493 TPS_FUNC(195),
494 TPS_FUNC(196),
495 TPS_FUNC(197),
496 TPS_FUNC(198),
497 TPS_FUNC(199),
498 TPS_FUNC(200),
499 TPS_FUNC(201),
500 TPS_FUNC(202),
501 TPS_FUNC(203),
502 TPS_FUNC(204),
503 TPS_FUNC(205),
504 TPS_FUNC(206),
505 TPS_FUNC(207),
506 TPS_FUNC(208),
507 TPS_FUNC(209),
508 TPS_FUNC(210),
509 TPS_FUNC(211),
510 TPS_FUNC(212),
511 TPS_FUNC(213),
512 TPS_FUNC(214),
513 TPS_FUNC(215),
514 TPS_FUNC(216),
515 TPS_FUNC(217),
516 TPS_FUNC(218),
517 TPS_FUNC(219),
518 TPS_FUNC(220),
519 TPS_FUNC(221),
520 TPS_FUNC(222),
521 TPS_FUNC(223),
522 TPS_FUNC(224),
523 TPS_FUNC(225),
524 TPS_FUNC(226),
525 TPS_FUNC(227),
526 TPS_FUNC(228),
527 TPS_FUNC(229),
528 TPS_FUNC(230),
529 TPS_FUNC(231),
530 TPS_FUNC(232),
531 TPS_FUNC(233),
532 TPS_FUNC(234),
533 TPS_FUNC(235),
534 TPS_FUNC(236),
535 TPS_FUNC(237),
536 TPS_FUNC(238),
537 TPS_FUNC(239),
538 TPS_FUNC(240),
539 TPS_FUNC(241),
540 TPS_FUNC(242),
541 TPS_FUNC(243),
542 TPS_FUNC(244),
543 TPS_FUNC(245),
544 TPS_FUNC(246),
545 TPS_FUNC(247),
546 TPS_FUNC(248),
547 TPS_FUNC(249),
548 TPS_FUNC(250),
549 TPS_FUNC(251),
550 TPS_FUNC(252),
551 TPS_FUNC(253),
552 TPS_FUNC(254),
553 TPS_FUNC(255),
554 #endif //T_PAGESTRESS_LARGE_ARRAY
555 };
557 #define PAGESTRESS_FUNC_COUNT (TUint32)(sizeof(PagestressFuncPtrs) / sizeof(TUint32))
559 #endif // TPS_DECLARE_ARRAY
561 #include "d_pagestress.h"
563 #endif //_T_PAGESTRESS_H_