From 6dc0868aa57b2efdabf4a5e4d5be184165aeec9d Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 7 Dec 2017 09:12:58 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11129 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/SPC5/RT-SPC56EC-EVB/Makefile-ghs | 2 +- demos/SPC5/RT-SPC56EC-EVB/Makefile-ht | 2 +- demos/SPC5/RT-SPC56EC-EVB/cw/ch/ch.mcp | Bin 67265 -> 70897 bytes doc/rt/reports/SPC56EC-120-CW.txt | 163 ++++++++++++++++++++++----------- 4 files changed, 112 insertions(+), 55 deletions(-) diff --git a/demos/SPC5/RT-SPC56EC-EVB/Makefile-ghs b/demos/SPC5/RT-SPC56EC-EVB/Makefile-ghs index caf6af8f8..6f3a9c59c 100644 --- a/demos/SPC5/RT-SPC56EC-EVB/Makefile-ghs +++ b/demos/SPC5/RT-SPC56EC-EVB/Makefile-ghs @@ -131,7 +131,7 @@ INCDIR = $(ALLINC) $(TESTINC) $(CONFDIR) # # List all user C define here, like -D_DEBUG=1 -UDEFS = -DSPC56ECXX_FMPLL_CLOCK_ERRATA_WORKAROUND=1 +UDEFS = -DSPC56ECXX_FMPLL_CLOCK_ERRATA_WORKAROUND=0 # Define ASM defines here UADEFS = diff --git a/demos/SPC5/RT-SPC56EC-EVB/Makefile-ht b/demos/SPC5/RT-SPC56EC-EVB/Makefile-ht index a4c2faf27..283ef153f 100644 --- a/demos/SPC5/RT-SPC56EC-EVB/Makefile-ht +++ b/demos/SPC5/RT-SPC56EC-EVB/Makefile-ht @@ -131,7 +131,7 @@ INCDIR = $(ALLINC) $(TESTINC) $(CONFDIR) # # List all user C define here, like -D_DEBUG=1 -UDEFS = -DSPC56ECXX_FMPLL_CLOCK_ERRATA_WORKAROUND=1 +UDEFS = -DSPC56ECXX_FMPLL_CLOCK_ERRATA_WORKAROUND=0 # Define ASM defines here UADEFS = diff --git a/demos/SPC5/RT-SPC56EC-EVB/cw/ch/ch.mcp b/demos/SPC5/RT-SPC56EC-EVB/cw/ch/ch.mcp index 6dcb5bc28..e29399c88 100644 Binary files a/demos/SPC5/RT-SPC56EC-EVB/cw/ch/ch.mcp and b/demos/SPC5/RT-SPC56EC-EVB/cw/ch/ch.mcp differ diff --git a/doc/rt/reports/SPC56EC-120-CW.txt b/doc/rt/reports/SPC56EC-120-CW.txt index 329619e02..407e27037 100644 --- a/doc/rt/reports/SPC56EC-120-CW.txt +++ b/doc/rt/reports/SPC56EC-120-CW.txt @@ -1,25 +1,31 @@ *** ChibiOS/RT Test Suite *** -*** Compiled: Sep 21 2017 - 15:12:32 +*** Compiled: Dec 7 2017 - 10:07:05 *** Platform: SPC56ECxx Gateway *** Test Board: EVB with SPC56ECxx Mini Module -*** Compiler: CW -*** Architecture: Power Architecture -*** Core Variant: e200z4 -*** Port Info: VLE mode +============================================================================ +=== Test Sequence 1 (Information) ---------------------------------------------------------------------------- ---- Test Case 1.1 (Kernel Info) +--- Test Case 1.1 (Port Info) +--- Architecture: Power Architecture e200 +--- Compiler: CW +--- Natural alignment: 4 +--- Stack alignment: 8 +--- Working area alignment: 8 +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 1.2 (Kernel Info) --- Product: ChibiOS/RT ---- Stable Flag: 1 ---- Version String: 4.0.1 ---- Major Number: 4 +--- Stable Flag: 0 +--- Version String: 5.0.0 +--- Major Number: 5 --- Minor Number: 0 ---- Patch Number: 1 +--- Patch Number: 0 --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 1.2 (Kernel Settings) +--- Test Case 1.3 (Kernel Settings) --- CH_CFG_ST_RESOLUTION: 32 --- CH_CFG_ST_FREQUENCY: 1000 --- CH_CFG_ST_TIMEDELTA: 0 @@ -55,6 +61,8 @@ --- CH_DBG_FILL_THREADS: 0 --- CH_DBG_THREADS_PROFILING: 1 --- Result: SUCCESS +============================================================================ +=== Test Sequence 2 (System layer and port interface) ---------------------------------------------------------------------------- --- Test Case 2.1 (System integrity functionality) --- Result: SUCCESS @@ -67,6 +75,8 @@ ---------------------------------------------------------------------------- --- Test Case 2.4 (System Tick Counter functionality) --- Result: SUCCESS +============================================================================ +=== Test Sequence 3 (Threads Functionality) ---------------------------------------------------------------------------- --- Test Case 3.1 (Thread Sleep functionality) --- Result: SUCCESS @@ -79,9 +89,13 @@ ---------------------------------------------------------------------------- --- Test Case 3.4 (Priority change test with Priority Inheritance) --- Result: SUCCESS +============================================================================ +=== Test Sequence 4 (Suspend/Resume) ---------------------------------------------------------------------------- --- Test Case 4.1 (Suspend and Resume functionality) --- Result: SUCCESS +============================================================================ +=== Test Sequence 5 (Counter Semaphores) ---------------------------------------------------------------------------- --- Test Case 5.1 (Semaphore primitives, no state change) --- Result: SUCCESS @@ -100,6 +114,8 @@ ---------------------------------------------------------------------------- --- Test Case 5.6 (Testing Binary Semaphores special case) --- Result: SUCCESS +============================================================================ +=== Test Sequence 6 (Mutexes, Condition Variables and Priority Inheritance) ---------------------------------------------------------------------------- --- Test Case 6.1 (Priority enqueuing test) --- Result: SUCCESS @@ -124,9 +140,13 @@ ---------------------------------------------------------------------------- --- Test Case 6.8 (Condition Variable priority boost test) --- Result: SUCCESS +============================================================================ +=== Test Sequence 7 (Synchronous Messages) ---------------------------------------------------------------------------- --- Test Case 7.1 (Messages Server loop) --- Result: SUCCESS +============================================================================ +=== Test Sequence 8 (Event Sources and Event Flags) ---------------------------------------------------------------------------- --- Test Case 8.1 (Events registration) --- Result: SUCCESS @@ -148,91 +168,128 @@ ---------------------------------------------------------------------------- --- Test Case 8.7 (Broadcasting using chEvtBroadcast()) --- Result: SUCCESS +============================================================================ +=== Test Sequence 9 (Dynamic threads) ---------------------------------------------------------------------------- ---- Test Case 9.1 (Mailbox normal API, non-blocking tests) +--- Test Case 9.1 (Threads creation from Memory Heap) --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 9.2 (Mailbox I-Class API, non-blocking tests) +--- Test Case 9.2 (Threads creation from Memory Pool) --- Result: SUCCESS +============================================================================ +=== Test Sequence 10 (Benchmarks) ---------------------------------------------------------------------------- ---- Test Case 9.3 (Mailbox timeouts) +--- Test Case 10.1 (Messages performance #1) +--- Score : 324749 msgs/S, 649498 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 10.1 (Loading and emptying a memory pool) +--- Test Case 10.2 (Messages performance #2) +--- Score : 287408 msgs/S, 574816 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 10.2 (Loading and emptying a guarded memory pool without waiting) +--- Test Case 10.3 (Messages performance #3) +--- Score : 287414 msgs/S, 574828 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 10.3 (Guarded Memory Pools timeout) +--- Test Case 10.4 (Context Switch performance) +--- Score : 1046720 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 11.1 (Allocation and fragmentation) +--- Test Case 10.5 (Threads performance, full cycle) +--- Score : 234505 threads/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 11.2 (Default Heap) +--- Test Case 10.6 (Threads performance, create/exit only) +--- Score : 294474 threads/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 12.1 (Threads creation from Memory Heap) +--- Test Case 10.7 (Mass reschedule performance) +--- Score : 89369 reschedules/S, 536214 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 12.2 (Threads creation from Memory Pool) +--- Test Case 10.8 (Round-Robin voluntary reschedule) +--- Score : 583392 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.1 (Messages performance #1) ---- Score : 324749 msgs/S, 649498 ctxswc/S +--- Test Case 10.9 (Virtual Timers set/reset performance) +--- Score : 1323786 timers/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.10 (Semaphores wait/signal performance) +--- Score : 1606880 wait+signal/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.11 (Mutexes lock/unlock performance) +--- Score : 1232348 lock+unlock/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.12 (RAM Footprint) +--- System: 120 bytes +--- Thread: 72 bytes +--- Timer : 20 bytes +--- Semaph: 12 bytes +--- Mutex : 16 bytes +--- CondV.: 8 bytes +--- EventS: 4 bytes +--- EventL: 20 bytes +--- MailB.: 40 bytes +--- Result: SUCCESS +---------------------------------------------------------------------------- + +Final result: SUCCESS + +*** ChibiOS OS Library Test Suite +*** +*** Compiled: Dec 7 2017 - 10:07:05 +*** Platform: SPC56ECxx Gateway +*** Test Board: EVB with SPC56ECxx Mini Module + +============================================================================ +=== Test Sequence 1 (Mailboxes) +---------------------------------------------------------------------------- +--- Test Case 1.1 (Mailbox normal API, non-blocking tests) --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.2 (Messages performance #2) ---- Score : 287404 msgs/S, 574808 ctxswc/S +--- Test Case 1.2 (Mailbox I-Class API, non-blocking tests) --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.3 (Messages performance #3) ---- Score : 287413 msgs/S, 574826 ctxswc/S +--- Test Case 1.3 (Mailbox timeouts) --- Result: SUCCESS +============================================================================ +=== Test Sequence 2 (Memory Pools) ---------------------------------------------------------------------------- ---- Test Case 13.4 (Context Switch performance) ---- Score : 1053008 ctxswc/S +--- Test Case 2.1 (Loading and emptying a memory pool) --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.5 (Threads performance, full cycle) ---- Score : 233138 threads/S +--- Test Case 2.2 (Loading and emptying a guarded memory pool without waiting) --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.6 (Threads performance, create/exit only) ---- Score : 292190 threads/S +--- Test Case 2.3 (Guarded Memory Pools timeout) --- Result: SUCCESS +============================================================================ +=== Test Sequence 3 (Memory Heaps) ---------------------------------------------------------------------------- ---- Test Case 13.7 (Mass reschedule performance) ---- Score : 88905 reschedules/S, 533430 ctxswc/S +--- Test Case 3.1 (Allocation and fragmentation) --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.8 (Round-Robin voluntary reschedule) ---- Score : 584400 ctxswc/S +--- Test Case 3.2 (Default Heap) --- Result: SUCCESS +============================================================================ +=== Test Sequence 4 (Objects Factory) ---------------------------------------------------------------------------- ---- Test Case 13.9 (Virtual Timers set/reset performance) ---- Score : 1323796 timers/S +--- Test Case 4.1 (Objects Registry) --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.10 (Semaphores wait/signal performance) ---- Score : 1628768 wait+signal/S +--- Test Case 4.2 (Dynamic Buffers Factory) --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.11 (Mutexes lock/unlock performance) ---- Score : 1229228 lock+unlock/S +--- Test Case 4.3 (Dynamic Semaphores Factory) --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.12 (RAM Footprint) ---- System: 120 bytes ---- Thread: 72 bytes ---- Timer : 20 bytes ---- Semaph: 12 bytes ---- Mutex : 16 bytes ---- CondV.: 8 bytes ---- EventS: 4 bytes ---- EventL: 20 bytes ---- MailB.: 40 bytes +--- Test Case 4.4 (Dynamic Mailboxes Factory) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 4.5 (Dynamic Objects FIFOs Factory) --- Result: SUCCESS ---------------------------------------------------------------------------- -- cgit v1.2.3