4.115
Last change
on this file since 4a8c334 was
4a8c334,
checked in by Sebastian Huber <sebastian.huber@…>, on 09/03/13 at 09:06:46
|
smptests/smpatomic08: Add initialization test case
|
-
Property mode set to
100644
|
File size:
723 bytes
|
Rev | Line | |
---|
[79d03e3] | 1 | *** TEST SMPATOMIC 8 *** |
---|
[4a8c334] | 2 | === static and dynamic initialization test case === |
---|
[79d03e3] | 3 | === atomic add test case == |
---|
[47b6fad] | 4 | worker 0 value: 16686 |
---|
| 5 | worker 1 value: 36405 |
---|
| 6 | atomic value: expected = 53091, actual = 53091 |
---|
| 7 | === atomic flag test case == |
---|
| 8 | worker 0 value: 5588 |
---|
| 9 | worker 1 value: 16019 |
---|
| 10 | atomic value: expected = 21607, actual = 21607 |
---|
[4238aff] | 11 | === atomic sub test case == |
---|
[47b6fad] | 12 | worker 0 value: 4294950967 |
---|
| 13 | worker 1 value: 4294930886 |
---|
| 14 | atomic value: expected = 4294914557, actual = 4294914557 |
---|
| 15 | === atomic compare exchange test case == |
---|
| 16 | worker 0 value: 2950 |
---|
| 17 | worker 1 value: 22456 |
---|
| 18 | atomic value: expected = 25406, actual = 25406 |
---|
| 19 | === atomic or/and test case == |
---|
| 20 | worker 0 value: 1 |
---|
| 21 | worker 1 value: 0 |
---|
| 22 | atomic value: expected = 1, actual = 1 |
---|
[79d03e3] | 23 | *** END OF TEST SMPATOMIC 8 *** |
---|
Note: See
TracBrowser
for help on using the repository browser.