summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpmigration01/smpmigration01.scn
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-19 13:52:41 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-21 09:38:54 +0100
commit47d6013417c63115356042695e7125ecfcfe4696 (patch)
treee45e767e2d794cbd7ab5d0932aba9d38dfc22e87 /testsuites/smptests/smpmigration01/smpmigration01.scn
parentscore: _Thread_Start_multitasking() (diff)
downloadrtems-47d6013417c63115356042695e7125ecfcfe4696.tar.bz2
score: _CPU_SMP_Get_current_processor()
Remove RTEMS_COMPILER_PURE_ATTRIBUTE from _SMP_Get_current_processor() and all _CPU_SMP_Get_current_processor(). Make inline ASM statements volatile again. Test smptests/smpmigration01 showed that GCC optimizes too much otherwise.
Diffstat (limited to '')
-rw-r--r--testsuites/smptests/smpmigration01/smpmigration01.scn32
1 files changed, 20 insertions, 12 deletions
diff --git a/testsuites/smptests/smpmigration01/smpmigration01.scn b/testsuites/smptests/smpmigration01/smpmigration01.scn
index b2b56ffcb8..ba42cd4942 100644
--- a/testsuites/smptests/smpmigration01/smpmigration01.scn
+++ b/testsuites/smptests/smpmigration01/smpmigration01.scn
@@ -1,17 +1,25 @@
*** TEST SMPMIGRATION 1 ***
+total cycles 94476101
+average cycles 15746016
runner 0
- cpu 0 tokens 453284
- cpu 0 cycles 14955317
- cpu 1 tokens 453283
- cpu 1 cycles 14978390
+ cpu 0 tokens 456994
+ cpu 0 cycles 16451659
+ cpu 0 cycle deviation 0.044814
+ cpu 1 tokens 456994
+ cpu 1 cycles 16895680
+ cpu 1 cycle deviation 0.073013
runner 1
- cpu 0 tokens 453283
- cpu 0 cycles 21302793
- cpu 1 tokens 453283
- cpu 1 cycles 21318817
+ cpu 0 tokens 456993
+ cpu 0 cycles 20561545
+ cpu 0 cycle deviation 0.305825
+ cpu 1 tokens 456994
+ cpu 1 cycles 20548432
+ cpu 1 cycle deviation 0.304992
runner 2
- cpu 0 tokens 453283
- cpu 0 cycles 19973312
- cpu 1 tokens 453283
- cpu 1 cycles 21315227
+ cpu 0 tokens 456994
+ cpu 0 cycles 10007206
+ cpu 0 cycle deviation -0.364461
+ cpu 1 tokens 456993
+ cpu 1 cycles 10011579
+ cpu 1 cycle deviation -0.364183
*** END OF TEST SMPMIGRATION 1 ***