summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpmigration01
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-08 11:49:15 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-20 10:14:04 +0200
commitaea4a919933d721931f65d81391bf2b13b0f79aa (patch)
tree787ad270058fed0126761404a7bc0541fade95ce /testsuites/smptests/smpmigration01
parentsmp: _Scheduler_simple_smp_Allocate_processor() (diff)
downloadrtems-aea4a919933d721931f65d81391bf2b13b0f79aa.tar.bz2
smp: Optimize Simple SMP scheduler
Add Thread_Control::is_in_the_air field if configured for SMP. This helps to simplify the extract operation and avoids superfluous inter-processor interrupts. Move the processor allocation step into the enqueue operation. Add and use _Scheduler_simple_smp_Get_highest_ready(). Add and use _Scheduler_SMP_Get_lowest_scheduled().
Diffstat (limited to 'testsuites/smptests/smpmigration01')
-rw-r--r--testsuites/smptests/smpmigration01/smpmigration01.scn24
1 files changed, 12 insertions, 12 deletions
diff --git a/testsuites/smptests/smpmigration01/smpmigration01.scn b/testsuites/smptests/smpmigration01/smpmigration01.scn
index dc3bae2c98..c5a21069bd 100644
--- a/testsuites/smptests/smpmigration01/smpmigration01.scn
+++ b/testsuites/smptests/smpmigration01/smpmigration01.scn
@@ -1,17 +1,17 @@
*** TEST SMPMIGRATION 1 ***
runner 0
- cpu 0 tokens 411501
- cpu 0 cycles 9464534
- cpu 1 tokens 411501
- cpu 1 cycles 9464802
+ cpu 0 tokens 530399
+ cpu 0 cycles 10077490
+ cpu 1 tokens 530399
+ cpu 1 cycles 10071429
runner 1
- cpu 0 tokens 411500
- cpu 0 cycles 41936630
- cpu 1 tokens 411501
- cpu 1 cycles 42009945
+ cpu 0 tokens 530399
+ cpu 0 cycles 5978212
+ cpu 1 tokens 530399
+ cpu 1 cycles 7951897
runner 2
- cpu 0 tokens 411501
- cpu 0 cycles 6583983
- cpu 1 tokens 411500
- cpu 1 cycles 6583701
+ cpu 0 tokens 530399
+ cpu 0 cycles 10070929
+ cpu 1 tokens 530398
+ cpu 1 cycles 10106437
*** END OF TEST SMPMIGRATION 1 ***