source: rtems/testsuites/smptests/smpatomic01/smpatomic01.scn @ cc8bb9e3

5
Last change on this file since cc8bb9e3 was cc8bb9e3, checked in by Sebastian Huber <sebastian.huber@…>, on Jun 7, 2016 at 1:26:52 PM

smptests/smpatomic01: Add seqlock test case

  • Property mode set to 100644
File size: 6.8 KB
Line 
1*** BEGIN OF TEST SMPATOMIC 1 ***
2=== atomic add test case ===
3worker 0 value: 68020
4worker 1 value: 355745
5worker 2 value: 341230
6worker 3 value: 395115
7worker 4 value: 341233
8worker 5 value: 352026
9worker 6 value: 381492
10worker 7 value: 357940
11worker 8 value: 422258
12worker 9 value: 244645
13worker 10 value: 246474
14worker 11 value: 197385
15worker 12 value: 256213
16worker 13 value: 233617
17worker 14 value: 234606
18worker 15 value: 260702
19worker 16 value: 214706
20worker 17 value: 86201
21worker 18 value: 104268
22worker 19 value: 67940
23worker 20 value: 68509
24worker 21 value: 98021
25worker 22 value: 66668
26worker 23 value: 87962
27atomic value: expected = 5482976, actual = 5482976
28=== atomic flag test case ===
29worker 0 value: 90301
30worker 1 value: 90507
31worker 2 value: 91048
32worker 3 value: 90930
33worker 4 value: 91129
34worker 5 value: 90994
35worker 6 value: 91677
36worker 7 value: 91086
37worker 8 value: 90729
38worker 9 value: 90540
39worker 10 value: 91358
40worker 11 value: 90859
41worker 12 value: 90954
42worker 13 value: 90816
43worker 14 value: 91052
44worker 15 value: 90994
45worker 16 value: 90961
46worker 17 value: 89741
47worker 18 value: 90144
48worker 19 value: 90270
49worker 20 value: 90301
50worker 21 value: 90054
51worker 22 value: 89782
52worker 23 value: 90108
53atomic value: expected = 2176335, actual = 2176335
54=== atomic sub test case ===
55worker 0 value: 4294821032
56worker 1 value: 4294618821
57worker 2 value: 4294631020
58worker 3 value: 4294597642
59worker 4 value: 4294626165
60worker 5 value: 4294629962
61worker 6 value: 4294601673
62worker 7 value: 4294668647
63worker 8 value: 4294687608
64worker 9 value: 4294691802
65worker 10 value: 4294770759
66worker 11 value: 4294700436
67worker 12 value: 4294715096
68worker 13 value: 4294716993
69worker 14 value: 4294708426
70worker 15 value: 4294725595
71worker 16 value: 4294732565
72worker 17 value: 4294893135
73worker 18 value: 4294857801
74worker 19 value: 4294892291
75worker 20 value: 4294874959
76worker 21 value: 4294839944
77worker 22 value: 4294874753
78worker 23 value: 4294875135
79atomic value: expected = 4289504452, actual = 4289504452
80=== atomic compare exchange test case ===
81worker 0 value: 121131
82worker 1 value: 134839
83worker 2 value: 139422
84worker 3 value: 123158
85worker 4 value: 122908
86worker 5 value: 134536
87worker 6 value: 134554
88worker 7 value: 133142
89worker 8 value: 129816
90worker 9 value: 133474
91worker 10 value: 129722
92worker 11 value: 140019
93worker 12 value: 129180
94worker 13 value: 122164
95worker 14 value: 135158
96worker 15 value: 126391
97worker 16 value: 132336
98worker 17 value: 123469
99worker 18 value: 122731
100worker 19 value: 124443
101worker 20 value: 125119
102worker 21 value: 121813
103worker 22 value: 123291
104worker 23 value: 121235
105atomic value: expected = 3084051, actual = 3084051
106=== atomic or/and test case ===
107worker 0 value: 0
108worker 1 value: 0
109worker 2 value: 4
110worker 3 value: 8
111worker 4 value: 0
112worker 5 value: 32
113worker 6 value: 64
114worker 7 value: 0
115worker 8 value: 0
116worker 9 value: 512
117worker 10 value: 0
118worker 11 value: 0
119worker 12 value: 0
120worker 13 value: 8192
121worker 14 value: 16384
122worker 15 value: 0
123worker 16 value: 0
124worker 17 value: 131072
125worker 18 value: 0
126worker 19 value: 524288
127worker 20 value: 1048576
128worker 21 value: 2097152
129worker 22 value: 0
130worker 23 value: 8388608
131atomic value: expected = 12214892, actual = 12214892
132=== atomic fence test case ===
133normal value = 10931635, second value = 10931635
134=== atomic store release and load acquire test case ===
135processor 0 delta 1040ns, load count 0
136processor 1 delta 1573ns, load count 59
137processor 2 delta 1840ns, load count 21
138processor 3 delta 1307ns, load count 71
139processor 4 delta 1440ns, load count 45
140processor 5 delta 1973ns, load count 0
141processor 6 delta 1173ns, load count 84
142processor 7 delta 1707ns, load count 34
143processor 8 delta 1867ns, load count 39
144processor 9 delta 1360ns, load count 84
145processor 10 delta 1227ns, load count 0
146processor 11 delta 1760ns, load count 51
147processor 12 delta 1493ns, load count 13
148processor 13 delta 2000ns, load count 64
149processor 14 delta 2133ns, load count 77
150processor 15 delta 1627ns, load count 26
151processor 16 delta 2240ns, load count 41
152processor 17 delta 1733ns, load count 0
153processor 18 delta 2000ns, load count 29
154processor 19 delta 1467ns, load count 74
155processor 20 delta 1600ns, load count 16
156processor 21 delta 1200ns, load count 66
157processor 22 delta 1867ns, load count 3
158processor 23 delta 1333ns, load count 53
159=== atomic read-modify-write test case ===
160processor 0 delta 1067ns, read-modify-write count 0
161processor 1 delta 3921ns, read-modify-write count 0
162processor 2 delta 3067ns, read-modify-write count 0
163processor 3 delta 1200ns, read-modify-write count 0
164processor 4 delta 3600ns, read-modify-write count 0
165processor 5 delta 3334ns, read-modify-write count 0
166processor 6 delta 1334ns, read-modify-write count 0
167processor 7 delta 2187ns, read-modify-write count 0
168processor 8 delta 1147ns, read-modify-write count 0
169processor 9 delta 3947ns, read-modify-write count 0
170processor 10 delta 2321ns, read-modify-write count 0
171processor 11 delta 3734ns, read-modify-write count 0
172processor 12 delta 2827ns, read-modify-write count 1
173processor 13 delta 2481ns, read-modify-write count 0
174processor 14 delta 1254ns, read-modify-write count 0
175processor 15 delta 2667ns, read-modify-write count 0
176processor 16 delta 3467ns, read-modify-write count 0
177processor 17 delta 2054ns, read-modify-write count 0
178processor 18 delta 1707ns, read-modify-write count 1
179processor 19 delta 1894ns, read-modify-write count 0
180processor 20 delta 2934ns, read-modify-write count 0
181processor 21 delta 1547ns, read-modify-write count 0
182processor 22 delta 1361ns, read-modify-write count 0
183processor 23 delta 3200ns, read-modify-write count 0
184=== single writer seqlock test case ===
185processor 0 count 2451021
186processor 1 count 1
187processor 2 count 8
188processor 3 count 31
189processor 4 count 52
190processor 5 count 23
191processor 6 count 23
192processor 7 count 49
193processor 8 count 703
194processor 9 count 750
195processor 10 count 684
196processor 11 count 770
197processor 12 count 710
198processor 13 count 691
199processor 14 count 687
200processor 15 count 695
201processor 16 count 774
202processor 17 count 828
203processor 18 count 732
204processor 19 count 719
205processor 20 count 728
206processor 21 count 761
207processor 22 count 685
208processor 23 count 764
209=== multi writer seqlock test case ===
210processor 0 count 124410
211processor 1 count 7865
212processor 2 count 123950
213processor 3 count 7797
214processor 4 count 124253
215processor 5 count 7773
216processor 6 count 124763
217processor 7 count 7817
218processor 8 count 124593
219processor 9 count 7781
220processor 10 count 124647
221processor 11 count 7753
222processor 12 count 124322
223processor 13 count 7692
224processor 14 count 124906
225processor 15 count 7715
226processor 16 count 124568
227processor 17 count 7605
228processor 18 count 125060
229processor 19 count 7908
230processor 20 count 124499
231processor 21 count 7804
232processor 22 count 124538
233processor 23 count 7874
234*** END OF TEST SMPATOMIC 1 ***
Note: See TracBrowser for help on using the repository browser.