From f3ac9042e12b59a6ef48aa3443a4d63b92233e88 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 7 Dec 2017 13:03:38 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11133 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/SPC5/RT-SPC560D-EVB/Makefile-ht | 2 +- demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf | 2 +- demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.mcp | Bin 67265 -> 69773 bytes doc/rt/reports/SPC560D-48-CW.txt | 185 ++++++++++------ doc/rt/reports/SPC560D-48-GCC.txt | 167 +++++++++----- doc/rt/reports/SPC560D-48-GHS.txt | 296 +++++++++++++++++++++++++ 6 files changed, 531 insertions(+), 121 deletions(-) create mode 100644 doc/rt/reports/SPC560D-48-GHS.txt diff --git a/demos/SPC5/RT-SPC560D-EVB/Makefile-ht b/demos/SPC5/RT-SPC560D-EVB/Makefile-ht index 97c47b91e..92eabce97 100644 --- a/demos/SPC5/RT-SPC560D-EVB/Makefile-ht +++ b/demos/SPC5/RT-SPC560D-EVB/Makefile-ht @@ -89,7 +89,7 @@ DEPDIR := ./.dep-ht # Licensing files. include $(CHIBIOS)/os/license/license.mk # Startup files. -include $(CHIBIOS)/os/common/startup/e200/compilers/GCC/mk/startup_spc56ecxx.mk +include $(CHIBIOS)/os/common/startup/e200/compilers/GCC/mk/startup_spc560dxx.mk # HAL-OSAL files (optional). include $(CHIBIOS)/os/hal/hal.mk include $(CHIBIOS)/os/hal/boards/ST_EVB_SPC560D/board.mk diff --git a/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf b/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf index d614f9099..8f4a2aa1d 100644 --- a/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf +++ b/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf @@ -28,7 +28,7 @@ MEMORY } __irq_stack_size__ = 0; -__process_stack_size__ = 0x0800; +__process_stack_size__ = 0x0400; __ram_size__ = SIZEOF(ram); __ram_start__ = ADDR(ram); diff --git a/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.mcp b/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.mcp index d571ca8d1d92f71482f7b28b78b06d6c1e11c9d4..71fb24fa33de6f4790b3f4dbf25873cde89cfde2 100644 GIT binary patch delta 4094 zcmZ`+ZBSI#89oPgFCfb|;-ZoO%L0Cpg+&At1r!J*3$BV91&c_QEXnF3tc{wESKCaC zX|N$DO3lPfGR=>COq-9JALdt@sna$yO`1$+=%gQsv6#`ZolJkE`Dk_eJohZhGMjgN zc%S>+_uP*??{m)ey$Q#}i;nzAG&+-yn0RY>NUx$8*f&d39sLnyu9gVc|vtl(&}1Y(rU`j<& zbH0>NG-qZw?Q?1q&V1h(PJZ$+oPYa_sh?)f<=6tr2eAv1pJ5|>-<3Vt)e2hoIJ#qd#I9E_n3Y^CQmr}+B@X9#<2)xQV;Pp$Z z^^z~mdhcpuhC1*~Q00AF?X1D#c3JJe}v0TdQrL#ae9#U98m(&?Q>E8+55wJ3&jd+68)> zR__75U90zkmTENsTBg-*&~mNzfMU1eFS!Y{!d9I@&`<5(d^6Z*{LP(Pz%JR^RU>%SHYydU_cLTXV9*_?d0QUktz*b-f z&{0J?!qKoHmr zYyo{|Hgmh=|9TS zR!%uJPCGNFo|)6n%obqg)H8GXnb`u&eN&}Uo-@nw;yh$4GqatU+0x8xYi71KGuxY) zEzZm~XJ)H2v)!55^2}^|X0|>v+n<>hKsGz*0}Av4GyT9!PcYLL%=88`{lRQ|1ereJ zF}=b}zcAA?%=8U2mwsm2hnW^?4-|BD&_@*LCFV_2zeTXGSFv#=IU!kFO88XD|+q{c4ys!+PUL0_= z!Vr%5fIppw3vdVOeRT$3%Z?V@crh6D;U+`ins$8sYkc2%w7wR1;!nYdJ%-OU+>P~D z4;l7DQ-6H|FA&!wZqpDMR1wEcV#C7ga6tA(LoCp;I6NanDV~n{p%B zupw}0$Js0RMe!7@f27|KS#kaR6WDy>*S|h)2s+;W^o(KTGH?!<*>2c7CC|O`CH~+X z_4^}+y<<{82aUTd^_K<>dl#ktXXu4-{lt)A@2u3XLB~J4z6LMG-Ij6WN$ie40^x-| zE;j7JJmJ8JmbgCHZis~x5wH9g+bSlO_0Rm!5Jg%RU%RHRIc1ICjh?B7HZrdb|8*T7 ksu&k}AePY18A47447uBV(vWtO#Kr@`!JireEo;aB0dN3bumAu6 delta 2313 zcmZvddu&ui7{zC{ckgc7yM1g+X;ukjUdUp)oP2AyE_lkoZV6pg=0r2SOD@d5Gss;SU=p{q@}YeKV7t z@66ok+--c^Y51e9tqn;+h%r)#eNu`Ou0#GeJWjW#N2+7VrA}?iaha&LMk(~!3D8Z9 zmqHqN7y-UZMZglmkcm)^Dz=WPct^|`;xjFk{mD4hzQya*3@xyn^N||qeh7WHt3%-| zUn!nKU^&aa{@Cr-FyUWH1Fx1L+_P%D^m;0WyIfWPvJB4HkmOK^OAG1`VJIECtViWuRGzH1RARo&!hLR%q4Tp4@!E! ze$#T!M6SsxqfqsHPyp@*qd_5nb8;*g2Ur%ifN+TsP>&F$63>${#Vz>g#nfKsi%3;o zN-S1eIcrXNv?=CfuKQLpAuZL{7<9#Aj{3^;*^G|+v2_B7R!WS*J`;Ym(%O`m?L*wH(mUT)r4`-oJ;?1< zS1K;XO|0GnydW8*fK*@sA4mh~AOmCqKga^vU=YXwgF!CH0|9Us7y^cZVPH7Go|hxR z05^vHuN_6`7zE>0X*imwj&N<6=dc*A=$&LJPR_YRs7_5wM4h8{_DHPGbZ&mMA^+Wd z7cDH&a4LgAk6z~vwKJIS-ixuXtCoB6o!EWF$!;$DdnTku?Veuf=JHSL_hdCGTo9cjKF@n zLC09e-*k+{yr^R==_MUwVfzp(z}G|mu0yQxAG#YWeObp??<+dSs{g5Dto>DWp?~OK zIz$`(*4=2vH67ytxvpb8CO349hvlY@@yPt6V>~#w7&Cc%gjCx~R++RbNvgMkqug}O zP^U^FDx;&+xfH3E>fjb*hfi9@r#O>GRvL15CFK>vhX>7`| zyFAi4veqjv%VciTvdUTId+o*)SvZNN@s<0PO4F#^w^W)&<^H8w_VEK{^Oep~ zxuvOej!NICbd5^SsC0}MJO0TGNib|iTbcxC%K&3^{csU(nfc{YF4wc?ec{Zpt zhDuwgG=)k_s5FF1JE$~+N-L=Jfl3poI4n^6WlJ_J!GT%Twz{R4ch>DTGf#+iA3mr9 z;$!gTXg7pdJ|G@CE5znp^k31|!Y|96_StA5+U(grSrmT{w;I2t%>%j|=)?u#5~4Nw z-=U|`-;4fBn^vuuInCtp)@?(P5M8*(7(bk8;!E7$CgN7eHv8kU$rN{1vp<3ONMT?0 z$;?0)H$(wu<>1Bln!fw=J&R0zMYBWb8#_H6)0ZL7E1dZ~^`^eAnUC93(=ok58h<)HVTP%1ai(`!b}NPl zCT_;vbvs{QW{N>fqOI6$??T?ywbee7E++)K@w3Mu-aNqNlCkzJ^h^5uny_;-WL@r+ V8$z5!4ck^%R@c8`3hV&g{sobx$Cdy9 diff --git a/doc/rt/reports/SPC560D-48-CW.txt b/doc/rt/reports/SPC560D-48-CW.txt index f9b781ea2..2e56f9471 100644 --- a/doc/rt/reports/SPC560D-48-CW.txt +++ b/doc/rt/reports/SPC560D-48-CW.txt @@ -1,25 +1,31 @@ *** ChibiOS/RT Test Suite *** -*** Compiled: Sep 20 2017 - 15:28:01 +*** Compiled: Dec 7 2017 - 11:53:10 *** Platform: SPC560Dxx Car Body and Convenience *** Test Board: EVB with SPC560Dxx Mini Module -*** Compiler: CW -*** Architecture: Power Architecture -*** Core Variant: e200z0 -*** Port Info: VLE mode +============================================================================ +=== Test Sequence 1 (Information) ---------------------------------------------------------------------------- ---- Test Case 1.1 (Kernel Info) ---- Product: ChibiOS/RT ---- Stable Flag: 1 ---- Version String: 4.0.1 ---- Major Number: 4 ---- Minor Number: 0 ---- Patch Number: 1 +--- 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 Settings) +--- Test Case 1.2 (Kernel Info) +--- Product: ChibiOS/RT +--- Stable Flag: 0 +--- Version String: 5.0.0 +--- Major Number: 5 +--- Minor Number: 0 +--- Patch Number: 0 +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- 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,82 +168,62 @@ ---------------------------------------------------------------------------- --- 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 10.1 (Messages performance #1) +--- Score : 133569 msgs/S, 267138 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 9.3 (Mailbox timeouts) +--- Test Case 10.2 (Messages performance #2) +--- Score : 119863 msgs/S, 239726 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 10.1 (Loading and emptying a memory pool) +--- Test Case 10.3 (Messages performance #3) +--- Score : 119861 msgs/S, 239722 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 10.2 (Loading and emptying a guarded memory pool without waiting) +--- Test Case 10.4 (Context Switch performance) +--- Score : 426992 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 10.3 (Guarded Memory Pools timeout) +--- Test Case 10.5 (Threads performance, full cycle) +--- Score : 96603 threads/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 11.1 (Allocation and fragmentation) +--- Test Case 10.6 (Threads performance, create/exit only) +--- Score : 119864 threads/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 11.2 (Default Heap) +--- Test Case 10.7 (Mass reschedule performance) +--- Score : 38663 reschedules/S, 231978 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 12.1 (Threads creation from Memory Heap) +--- Test Case 10.8 (Round-Robin voluntary reschedule) +--- Score : 262740 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 12.2 (Threads creation from Memory Pool) +--- Test Case 10.9 (Virtual Timers set/reset performance) +--- Score : 559300 timers/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.1 (Messages performance #1) ---- Score : 135063 msgs/S, 270126 ctxswc/S +--- Test Case 10.10 (Semaphores wait/signal performance) +--- Score : 521272 wait+signal/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.2 (Messages performance #2) ---- Score : 120449 msgs/S, 240898 ctxswc/S +--- Test Case 10.11 (Mutexes lock/unlock performance) +--- Score : 444904 lock+unlock/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.3 (Messages performance #3) ---- Score : 120454 msgs/S, 240908 ctxswc/S ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 13.4 (Context Switch performance) ---- Score : 414944 ctxswc/S ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 13.5 (Threads performance, full cycle) ---- Score : 94116 threads/S ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 13.6 (Threads performance, create/exit only) ---- Score : 116353 threads/S ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 13.7 (Mass reschedule performance) ---- Score : 38568 reschedules/S, 231408 ctxswc/S ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 13.8 (Round-Robin voluntary reschedule) ---- Score : 266000 ctxswc/S ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 13.9 (Virtual Timers set/reset performance) ---- Score : 569228 timers/S ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 13.10 (Semaphores wait/signal performance) ---- Score : 564284 wait+signal/S ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 13.11 (Mutexes lock/unlock performance) ---- Score : 460940 lock+unlock/S ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 13.12 (RAM Footprint) +--- Test Case 10.12 (RAM Footprint) --- System: 120 bytes --- Thread: 72 bytes --- Timer : 20 bytes @@ -237,3 +237,60 @@ ---------------------------------------------------------------------------- Final result: SUCCESS + +*** ChibiOS OS Library Test Suite +*** +*** Compiled: Dec 7 2017 - 11:53:10 +*** Platform: SPC560Dxx Car Body and Convenience +*** Test Board: EVB with SPC560Dxx Mini Module + +============================================================================ +=== Test Sequence 1 (Mailboxes) +---------------------------------------------------------------------------- +--- Test Case 1.1 (Mailbox normal API, non-blocking tests) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 1.2 (Mailbox I-Class API, non-blocking tests) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 1.3 (Mailbox timeouts) +--- Result: SUCCESS +============================================================================ +=== Test Sequence 2 (Memory Pools) +---------------------------------------------------------------------------- +--- Test Case 2.1 (Loading and emptying a memory pool) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 2.2 (Loading and emptying a guarded memory pool without waiting) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 2.3 (Guarded Memory Pools timeout) +--- Result: SUCCESS +============================================================================ +=== Test Sequence 3 (Memory Heaps) +---------------------------------------------------------------------------- +--- Test Case 3.1 (Allocation and fragmentation) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 3.2 (Default Heap) +--- Result: SUCCESS +============================================================================ +=== Test Sequence 4 (Objects Factory) +---------------------------------------------------------------------------- +--- Test Case 4.1 (Objects Registry) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 4.2 (Dynamic Buffers Factory) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 4.3 (Dynamic Semaphores Factory) +--- Result: FAILURE (#2 [] "cannot create") +---------------------------------------------------------------------------- +--- Test Case 4.4 (Dynamic Mailboxes Factory) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 4.5 (Dynamic Objects FIFOs Factory) +--- Result: FAILURE (#2 [] "cannot create") +---------------------------------------------------------------------------- + +Final result: FAILURE diff --git a/doc/rt/reports/SPC560D-48-GCC.txt b/doc/rt/reports/SPC560D-48-GCC.txt index d452adf46..357eaef30 100644 --- a/doc/rt/reports/SPC560D-48-GCC.txt +++ b/doc/rt/reports/SPC560D-48-GCC.txt @@ -1,25 +1,31 @@ *** ChibiOS/RT Test Suite *** -*** Compiled: Sep 20 2017 - 15:23:50 +*** Compiled: Dec 7 2017 - 11:29:07 *** Platform: SPC560Dxx Car Body and Convenience *** Test Board: EVB with SPC560Dxx Mini Module -*** Compiler: GCC 4.6.3 build on 2013-01-07 -*** Architecture: Power Architecture -*** Core Variant: e200z0 -*** Port Info: VLE mode +============================================================================ +=== Test Sequence 1 (Information) ---------------------------------------------------------------------------- ---- Test Case 1.1 (Kernel Info) ---- Product: ChibiOS/RT ---- Stable Flag: 1 ---- Version String: 4.0.1 ---- Major Number: 4 ---- Minor Number: 0 ---- Patch Number: 1 +--- Test Case 1.1 (Port Info) +--- Architecture: Power Architecture e200 +--- Compiler: GCC 4.6.3 build on 2013-01-07 +--- Natural alignment: 4 +--- Stack alignment: 8 +--- Working area alignment: 8 --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 1.2 (Kernel Settings) +--- Test Case 1.2 (Kernel Info) +--- Product: ChibiOS/RT +--- Stable Flag: 0 +--- Version String: 5.0.0 +--- Major Number: 5 +--- Minor Number: 0 +--- Patch Number: 0 +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- 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,82 +168,62 @@ ---------------------------------------------------------------------------- --- 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) ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 10.1 (Loading and emptying a memory pool) ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 10.2 (Loading and emptying a guarded memory pool without waiting) ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 10.3 (Guarded Memory Pools timeout) ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 11.1 (Allocation and fragmentation) ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 11.2 (Default Heap) ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 12.1 (Threads creation from Memory Heap) ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 12.2 (Threads creation from Memory Pool) ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 13.1 (Messages performance #1) +--- Test Case 10.1 (Messages performance #1) --- Score : 152297 msgs/S, 304594 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.2 (Messages performance #2) +--- Test Case 10.2 (Messages performance #2) +--- Score : 128219 msgs/S, 256438 ctxswc/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.3 (Messages performance #3) --- Score : 128222 msgs/S, 256444 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.3 (Messages performance #3) ---- Score : 128222 msgs/S, 256444 ctxswc/S ---- Result: SUCCESS ----------------------------------------------------------------------------- ---- Test Case 13.4 (Context Switch performance) +--- Test Case 10.4 (Context Switch performance) --- Score : 453872 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.5 (Threads performance, full cycle) +--- Test Case 10.5 (Threads performance, full cycle) --- Score : 100676 threads/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.6 (Threads performance, create/exit only) ---- Score : 126856 threads/S +--- Test Case 10.6 (Threads performance, create/exit only) +--- Score : 126860 threads/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.7 (Mass reschedule performance) +--- Test Case 10.7 (Mass reschedule performance) --- Score : 40189 reschedules/S, 241134 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.8 (Round-Robin voluntary reschedule) +--- Test Case 10.8 (Round-Robin voluntary reschedule) --- Score : 315140 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.9 (Virtual Timers set/reset performance) +--- Test Case 10.9 (Virtual Timers set/reset performance) --- Score : 683098 timers/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.10 (Semaphores wait/signal performance) +--- Test Case 10.10 (Semaphores wait/signal performance) --- Score : 629284 wait+signal/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.11 (Mutexes lock/unlock performance) +--- Test Case 10.11 (Mutexes lock/unlock performance) --- Score : 488000 lock+unlock/S --- Result: SUCCESS ---------------------------------------------------------------------------- ---- Test Case 13.12 (RAM Footprint) +--- Test Case 10.12 (RAM Footprint) --- System: 120 bytes --- Thread: 72 bytes --- Timer : 20 bytes @@ -237,3 +237,60 @@ ---------------------------------------------------------------------------- Final result: SUCCESS + +*** ChibiOS OS Library Test Suite +*** +*** Compiled: Dec 7 2017 - 11:29:07 +*** Platform: SPC560Dxx Car Body and Convenience +*** Test Board: EVB with SPC560Dxx Mini Module + +============================================================================ +=== Test Sequence 1 (Mailboxes) +---------------------------------------------------------------------------- +--- Test Case 1.1 (Mailbox normal API, non-blocking tests) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 1.2 (Mailbox I-Class API, non-blocking tests) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 1.3 (Mailbox timeouts) +--- Result: SUCCESS +============================================================================ +=== Test Sequence 2 (Memory Pools) +---------------------------------------------------------------------------- +--- Test Case 2.1 (Loading and emptying a memory pool) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 2.2 (Loading and emptying a guarded memory pool without waiting) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 2.3 (Guarded Memory Pools timeout) +--- Result: SUCCESS +============================================================================ +=== Test Sequence 3 (Memory Heaps) +---------------------------------------------------------------------------- +--- Test Case 3.1 (Allocation and fragmentation) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 3.2 (Default Heap) +--- Result: SUCCESS +============================================================================ +=== Test Sequence 4 (Objects Factory) +---------------------------------------------------------------------------- +--- Test Case 4.1 (Objects Registry) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 4.2 (Dynamic Buffers Factory) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 4.3 (Dynamic Semaphores Factory) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 4.4 (Dynamic Mailboxes Factory) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 4.5 (Dynamic Objects FIFOs Factory) +--- Result: SUCCESS +---------------------------------------------------------------------------- + +Final result: SUCCESS diff --git a/doc/rt/reports/SPC560D-48-GHS.txt b/doc/rt/reports/SPC560D-48-GHS.txt new file mode 100644 index 000000000..99aa9aa4d --- /dev/null +++ b/doc/rt/reports/SPC560D-48-GHS.txt @@ -0,0 +1,296 @@ + +*** ChibiOS/RT Test Suite +*** +*** Compiled: Dec 7 2017 - 11:24:43 +*** Platform: SPC560Dxx Car Body and Convenience +*** Test Board: EVB with SPC560Dxx Mini Module + +============================================================================ +=== Test Sequence 1 (Information) +---------------------------------------------------------------------------- +--- Test Case 1.1 (Port Info) +--- Architecture: Power Architecture e200 +--- Compiler: GHS +--- Natural alignment: 4 +--- Stack alignment: 8 +--- Working area alignment: 8 +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 1.2 (Kernel Info) +--- Product: ChibiOS/RT +--- Stable Flag: 0 +--- Version String: 5.0.0 +--- Major Number: 5 +--- Minor Number: 0 +--- Patch Number: 0 +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 1.3 (Kernel Settings) +--- CH_CFG_ST_RESOLUTION: 32 +--- CH_CFG_ST_FREQUENCY: 1000 +--- CH_CFG_ST_TIMEDELTA: 0 +--- CH_CFG_TIME_QUANTUM: 0 +--- CH_CFG_MEMCORE_SIZE: 0 +--- CH_CFG_NO_IDLE_THREAD: 0 +--- CH_CFG_OPTIMIZE_SPEED: 1 +--- CH_CFG_USE_TM: 0 +--- CH_CFG_USE_REGISTRY: 1 +--- CH_CFG_USE_WAITEXIT: 1 +--- CH_CFG_USE_SEMAPHORES: 1 +--- CH_CFG_USE_SEMAPHORES_PRI: 0 +--- CH_CFG_USE_MUTEXES: 1 +--- CH_CFG_USE_MUTEXES_RECURS: 0 +--- CH_CFG_USE_CONDVARS: 1 +--- CH_CFG_USE_CONDVARS_TIMEO: 1 +--- CH_CFG_USE_EVENTS: 1 +--- CH_CFG_USE_EVENTS_TIMEOUT: 1 +--- CH_CFG_USE_MESSAGES: 1 +--- CH_CFG_USE_MESSAGES_PRI: 0 +--- CH_CFG_USE_MAILBOXES: 1 +--- CH_CFG_USE_MEMCORE: 1 +--- CH_CFG_USE_HEAP: 1 +--- CH_CFG_USE_MEMPOOLS: 1 +--- CH_CFG_USE_DYNAMIC: 1 +--- CH_DBG_STATISTICS: 0 +--- CH_DBG_SYSTEM_STATE_CHECK: 0 +--- CH_DBG_ENABLE_CHECKS: 0 +--- CH_DBG_ENABLE_ASSERTS: 0 +--- CH_DBG_TRACE_MASK: 255 +--- CH_DBG_TRACE_BUFFER_SIZE: 128 +--- CH_DBG_ENABLE_STACK_CHECK: 0 +--- 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 +---------------------------------------------------------------------------- +--- Test Case 2.2 (Critical zones functionality) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 2.3 (Interrupts handling functionality) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 2.4 (System Tick Counter functionality) +--- Result: SUCCESS +============================================================================ +=== Test Sequence 3 (Threads Functionality) +---------------------------------------------------------------------------- +--- Test Case 3.1 (Thread Sleep functionality) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 3.2 (Ready List functionality, threads priority order) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 3.3 (Priority change test) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- 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 +---------------------------------------------------------------------------- +--- Test Case 5.2 (Semaphore enqueuing test) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 5.3 (Semaphore timeout test) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 5.4 (Testing chSemAddCounterI() functionality) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 5.5 (Testing chSemWaitSignal() functionality) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- 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 +---------------------------------------------------------------------------- +--- Test Case 6.2 (Priority inheritance, simple case) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 6.3 (Priority inheritance, complex case) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 6.4 (Priority return verification) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 6.5 (Repeated locks, non recursive scenario) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 6.6 (Condition Variable signal test) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 6.7 (Condition Variable broadcast test) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- 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 +---------------------------------------------------------------------------- +--- Test Case 8.2 (Event Flags dispatching) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 8.3 (Events Flags wait using chEvtWaitOne()) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 8.4 (Events Flags wait using chEvtWaitAny()) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 8.5 (Events Flags wait using chEvtWaitAll()) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 8.6 (Events Flags wait timeouts) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 8.7 (Broadcasting using chEvtBroadcast()) +--- Result: SUCCESS +============================================================================ +=== Test Sequence 9 (Dynamic threads) +---------------------------------------------------------------------------- +--- Test Case 9.1 (Threads creation from Memory Heap) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 9.2 (Threads creation from Memory Pool) +--- Result: SUCCESS +============================================================================ +=== Test Sequence 10 (Benchmarks) +---------------------------------------------------------------------------- +--- Test Case 10.1 (Messages performance #1) +--- Score : 132825 msgs/S, 265650 ctxswc/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.2 (Messages performance #2) +--- Score : 118666 msgs/S, 237332 ctxswc/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.3 (Messages performance #3) +--- Score : 118666 msgs/S, 237332 ctxswc/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.4 (Context Switch performance) +--- Score : 411776 ctxswc/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.5 (Threads performance, full cycle) +--- Score : 92130 threads/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.6 (Threads performance, create/exit only) +--- Score : 114402 threads/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.7 (Mass reschedule performance) +--- Score : 37359 reschedules/S, 224154 ctxswc/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.8 (Round-Robin voluntary reschedule) +--- Score : 252320 ctxswc/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.9 (Virtual Timers set/reset performance) +--- Score : 552160 timers/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.10 (Semaphores wait/signal performance) +--- Score : 480592 wait+signal/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.11 (Mutexes lock/unlock performance) +--- Score : 432748 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 - 11:24:43 +*** Platform: SPC560Dxx Car Body and Convenience +*** Test Board: EVB with SPC560Dxx Mini Module + +============================================================================ +=== Test Sequence 1 (Mailboxes) +---------------------------------------------------------------------------- +--- Test Case 1.1 (Mailbox normal API, non-blocking tests) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 1.2 (Mailbox I-Class API, non-blocking tests) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 1.3 (Mailbox timeouts) +--- Result: SUCCESS +============================================================================ +=== Test Sequence 2 (Memory Pools) +---------------------------------------------------------------------------- +--- Test Case 2.1 (Loading and emptying a memory pool) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 2.2 (Loading and emptying a guarded memory pool without waiting) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 2.3 (Guarded Memory Pools timeout) +--- Result: SUCCESS +============================================================================ +=== Test Sequence 3 (Memory Heaps) +---------------------------------------------------------------------------- +--- Test Case 3.1 (Allocation and fragmentation) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 3.2 (Default Heap) +--- Result: SUCCESS +============================================================================ +=== Test Sequence 4 (Objects Factory) +---------------------------------------------------------------------------- +--- Test Case 4.1 (Objects Registry) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 4.2 (Dynamic Buffers Factory) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 4.3 (Dynamic Semaphores Factory) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 4.4 (Dynamic Mailboxes Factory) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 4.5 (Dynamic Objects FIFOs Factory) +--- Result: SUCCESS +---------------------------------------------------------------------------- + +Final result: SUCCESS