SPC56EC-120-GHS.txt 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. *** ChibiOS/RT Test Suite
  2. ***
  3. *** Compiled: Dec 7 2017 - 09:42:16
  4. *** Platform: SPC56ECxx Gateway
  5. *** Test Board: EVB with SPC56ECxx Mini Module
  6. ============================================================================
  7. === Test Sequence 1 (Information)
  8. ----------------------------------------------------------------------------
  9. --- Test Case 1.1 (Port Info)
  10. --- Architecture: Power Architecture e200
  11. --- Compiler: GHS
  12. --- Natural alignment: 4
  13. --- Stack alignment: 8
  14. --- Working area alignment: 8
  15. --- Result: SUCCESS
  16. ----------------------------------------------------------------------------
  17. --- Test Case 1.2 (Kernel Info)
  18. --- Product: ChibiOS/RT
  19. --- Stable Flag: 0
  20. --- Version String: 5.0.0
  21. --- Major Number: 5
  22. --- Minor Number: 0
  23. --- Patch Number: 0
  24. --- Result: SUCCESS
  25. ----------------------------------------------------------------------------
  26. --- Test Case 1.3 (Kernel Settings)
  27. --- CH_CFG_ST_RESOLUTION: 32
  28. --- CH_CFG_ST_FREQUENCY: 1000
  29. --- CH_CFG_ST_TIMEDELTA: 0
  30. --- CH_CFG_TIME_QUANTUM: 0
  31. --- CH_CFG_MEMCORE_SIZE: 0
  32. --- CH_CFG_NO_IDLE_THREAD: 0
  33. --- CH_CFG_OPTIMIZE_SPEED: 1
  34. --- CH_CFG_USE_TM: 0
  35. --- CH_CFG_USE_REGISTRY: 1
  36. --- CH_CFG_USE_WAITEXIT: 1
  37. --- CH_CFG_USE_SEMAPHORES: 1
  38. --- CH_CFG_USE_SEMAPHORES_PRI: 0
  39. --- CH_CFG_USE_MUTEXES: 1
  40. --- CH_CFG_USE_MUTEXES_RECURS: 0
  41. --- CH_CFG_USE_CONDVARS: 1
  42. --- CH_CFG_USE_CONDVARS_TIMEO: 1
  43. --- CH_CFG_USE_EVENTS: 1
  44. --- CH_CFG_USE_EVENTS_TIMEOUT: 1
  45. --- CH_CFG_USE_MESSAGES: 1
  46. --- CH_CFG_USE_MESSAGES_PRI: 0
  47. --- CH_CFG_USE_MAILBOXES: 1
  48. --- CH_CFG_USE_MEMCORE: 1
  49. --- CH_CFG_USE_HEAP: 1
  50. --- CH_CFG_USE_MEMPOOLS: 1
  51. --- CH_CFG_USE_DYNAMIC: 1
  52. --- CH_DBG_STATISTICS: 0
  53. --- CH_DBG_SYSTEM_STATE_CHECK: 0
  54. --- CH_DBG_ENABLE_CHECKS: 0
  55. --- CH_DBG_ENABLE_ASSERTS: 0
  56. --- CH_DBG_TRACE_MASK: 255
  57. --- CH_DBG_TRACE_BUFFER_SIZE: 128
  58. --- CH_DBG_ENABLE_STACK_CHECK: 0
  59. --- CH_DBG_FILL_THREADS: 0
  60. --- CH_DBG_THREADS_PROFILING: 1
  61. --- Result: SUCCESS
  62. ============================================================================
  63. === Test Sequence 2 (System layer and port interface)
  64. ----------------------------------------------------------------------------
  65. --- Test Case 2.1 (System integrity functionality)
  66. --- Result: SUCCESS
  67. ----------------------------------------------------------------------------
  68. --- Test Case 2.2 (Critical zones functionality)
  69. --- Result: SUCCESS
  70. ----------------------------------------------------------------------------
  71. --- Test Case 2.3 (Interrupts handling functionality)
  72. --- Result: SUCCESS
  73. ----------------------------------------------------------------------------
  74. --- Test Case 2.4 (System Tick Counter functionality)
  75. --- Result: SUCCESS
  76. ============================================================================
  77. === Test Sequence 3 (Threads Functionality)
  78. ----------------------------------------------------------------------------
  79. --- Test Case 3.1 (Thread Sleep functionality)
  80. --- Result: SUCCESS
  81. ----------------------------------------------------------------------------
  82. --- Test Case 3.2 (Ready List functionality, threads priority order)
  83. --- Result: SUCCESS
  84. ----------------------------------------------------------------------------
  85. --- Test Case 3.3 (Priority change test)
  86. --- Result: SUCCESS
  87. ----------------------------------------------------------------------------
  88. --- Test Case 3.4 (Priority change test with Priority Inheritance)
  89. --- Result: SUCCESS
  90. ============================================================================
  91. === Test Sequence 4 (Suspend/Resume)
  92. ----------------------------------------------------------------------------
  93. --- Test Case 4.1 (Suspend and Resume functionality)
  94. --- Result: SUCCESS
  95. ============================================================================
  96. === Test Sequence 5 (Counter Semaphores)
  97. ----------------------------------------------------------------------------
  98. --- Test Case 5.1 (Semaphore primitives, no state change)
  99. --- Result: SUCCESS
  100. ----------------------------------------------------------------------------
  101. --- Test Case 5.2 (Semaphore enqueuing test)
  102. --- Result: SUCCESS
  103. ----------------------------------------------------------------------------
  104. --- Test Case 5.3 (Semaphore timeout test)
  105. --- Result: SUCCESS
  106. ----------------------------------------------------------------------------
  107. --- Test Case 5.4 (Testing chSemAddCounterI() functionality)
  108. --- Result: SUCCESS
  109. ----------------------------------------------------------------------------
  110. --- Test Case 5.5 (Testing chSemWaitSignal() functionality)
  111. --- Result: SUCCESS
  112. ----------------------------------------------------------------------------
  113. --- Test Case 5.6 (Testing Binary Semaphores special case)
  114. --- Result: SUCCESS
  115. ============================================================================
  116. === Test Sequence 6 (Mutexes, Condition Variables and Priority Inheritance)
  117. ----------------------------------------------------------------------------
  118. --- Test Case 6.1 (Priority enqueuing test)
  119. --- Result: SUCCESS
  120. ----------------------------------------------------------------------------
  121. --- Test Case 6.2 (Priority inheritance, simple case)
  122. --- Result: SUCCESS
  123. ----------------------------------------------------------------------------
  124. --- Test Case 6.3 (Priority inheritance, complex case)
  125. --- Result: SUCCESS
  126. ----------------------------------------------------------------------------
  127. --- Test Case 6.4 (Priority return verification)
  128. --- Result: SUCCESS
  129. ----------------------------------------------------------------------------
  130. --- Test Case 6.5 (Repeated locks, non recursive scenario)
  131. --- Result: SUCCESS
  132. ----------------------------------------------------------------------------
  133. --- Test Case 6.6 (Condition Variable signal test)
  134. --- Result: SUCCESS
  135. ----------------------------------------------------------------------------
  136. --- Test Case 6.7 (Condition Variable broadcast test)
  137. --- Result: SUCCESS
  138. ----------------------------------------------------------------------------
  139. --- Test Case 6.8 (Condition Variable priority boost test)
  140. --- Result: SUCCESS
  141. ============================================================================
  142. === Test Sequence 7 (Synchronous Messages)
  143. ----------------------------------------------------------------------------
  144. --- Test Case 7.1 (Messages Server loop)
  145. --- Result: SUCCESS
  146. ============================================================================
  147. === Test Sequence 8 (Event Sources and Event Flags)
  148. ----------------------------------------------------------------------------
  149. --- Test Case 8.1 (Events registration)
  150. --- Result: SUCCESS
  151. ----------------------------------------------------------------------------
  152. --- Test Case 8.2 (Event Flags dispatching)
  153. --- Result: SUCCESS
  154. ----------------------------------------------------------------------------
  155. --- Test Case 8.3 (Events Flags wait using chEvtWaitOne())
  156. --- Result: SUCCESS
  157. ----------------------------------------------------------------------------
  158. --- Test Case 8.4 (Events Flags wait using chEvtWaitAny())
  159. --- Result: SUCCESS
  160. ----------------------------------------------------------------------------
  161. --- Test Case 8.5 (Events Flags wait using chEvtWaitAll())
  162. --- Result: SUCCESS
  163. ----------------------------------------------------------------------------
  164. --- Test Case 8.6 (Events Flags wait timeouts)
  165. --- Result: SUCCESS
  166. ----------------------------------------------------------------------------
  167. --- Test Case 8.7 (Broadcasting using chEvtBroadcast())
  168. --- Result: SUCCESS
  169. ============================================================================
  170. === Test Sequence 9 (Dynamic threads)
  171. ----------------------------------------------------------------------------
  172. --- Test Case 9.1 (Threads creation from Memory Heap)
  173. --- Result: SUCCESS
  174. ----------------------------------------------------------------------------
  175. --- Test Case 9.2 (Threads creation from Memory Pool)
  176. --- Result: SUCCESS
  177. ============================================================================
  178. === Test Sequence 10 (Benchmarks)
  179. ----------------------------------------------------------------------------
  180. --- Test Case 10.1 (Messages performance #1)
  181. --- Score : 368798 msgs/S, 737596 ctxswc/S
  182. --- Result: SUCCESS
  183. ----------------------------------------------------------------------------
  184. --- Test Case 10.2 (Messages performance #2)
  185. --- Score : 324836 msgs/S, 649672 ctxswc/S
  186. --- Result: SUCCESS
  187. ----------------------------------------------------------------------------
  188. --- Test Case 10.3 (Messages performance #3)
  189. --- Score : 324837 msgs/S, 649674 ctxswc/S
  190. --- Result: SUCCESS
  191. ----------------------------------------------------------------------------
  192. --- Test Case 10.4 (Context Switch performance)
  193. --- Score : 1115008 ctxswc/S
  194. --- Result: SUCCESS
  195. ----------------------------------------------------------------------------
  196. --- Test Case 10.5 (Threads performance, full cycle)
  197. --- Score : 268142 threads/S
  198. --- Result: SUCCESS
  199. ----------------------------------------------------------------------------
  200. --- Test Case 10.6 (Threads performance, create/exit only)
  201. --- Score : 332039 threads/S
  202. --- Result: SUCCESS
  203. ----------------------------------------------------------------------------
  204. --- Test Case 10.7 (Mass reschedule performance)
  205. --- Score : 99061 reschedules/S, 594366 ctxswc/S
  206. --- Result: SUCCESS
  207. ----------------------------------------------------------------------------
  208. --- Test Case 10.8 (Round-Robin voluntary reschedule)
  209. --- Score : 635180 ctxswc/S
  210. --- Result: SUCCESS
  211. ----------------------------------------------------------------------------
  212. --- Test Case 10.9 (Virtual Timers set/reset performance)
  213. --- Score : 1774954 timers/S
  214. --- Result: SUCCESS
  215. ----------------------------------------------------------------------------
  216. --- Test Case 10.10 (Semaphores wait/signal performance)
  217. --- Score : 1728808 wait+signal/S
  218. --- Result: SUCCESS
  219. ----------------------------------------------------------------------------
  220. --- Test Case 10.11 (Mutexes lock/unlock performance)
  221. --- Score : 1473756 lock+unlock/S
  222. --- Result: SUCCESS
  223. ----------------------------------------------------------------------------
  224. --- Test Case 10.12 (RAM Footprint)
  225. --- System: 120 bytes
  226. --- Thread: 72 bytes
  227. --- Timer : 20 bytes
  228. --- Semaph: 12 bytes
  229. --- Mutex : 16 bytes
  230. --- CondV.: 8 bytes
  231. --- EventS: 4 bytes
  232. --- EventL: 20 bytes
  233. --- MailB.: 40 bytes
  234. --- Result: SUCCESS
  235. ----------------------------------------------------------------------------
  236. Final result: SUCCESS
  237. *** ChibiOS OS Library Test Suite
  238. ***
  239. *** Compiled: Dec 7 2017 - 09:42:16
  240. *** Platform: SPC56ECxx Gateway
  241. *** Test Board: EVB with SPC56ECxx Mini Module
  242. ============================================================================
  243. === Test Sequence 1 (Mailboxes)
  244. ----------------------------------------------------------------------------
  245. --- Test Case 1.1 (Mailbox normal API, non-blocking tests)
  246. --- Result: SUCCESS
  247. ----------------------------------------------------------------------------
  248. --- Test Case 1.2 (Mailbox I-Class API, non-blocking tests)
  249. --- Result: SUCCESS
  250. ----------------------------------------------------------------------------
  251. --- Test Case 1.3 (Mailbox timeouts)
  252. --- Result: SUCCESS
  253. ============================================================================
  254. === Test Sequence 2 (Memory Pools)
  255. ----------------------------------------------------------------------------
  256. --- Test Case 2.1 (Loading and emptying a memory pool)
  257. --- Result: SUCCESS
  258. ----------------------------------------------------------------------------
  259. --- Test Case 2.2 (Loading and emptying a guarded memory pool without waiting)
  260. --- Result: SUCCESS
  261. ----------------------------------------------------------------------------
  262. --- Test Case 2.3 (Guarded Memory Pools timeout)
  263. --- Result: SUCCESS
  264. ============================================================================
  265. === Test Sequence 3 (Memory Heaps)
  266. ----------------------------------------------------------------------------
  267. --- Test Case 3.1 (Allocation and fragmentation)
  268. --- Result: SUCCESS
  269. ----------------------------------------------------------------------------
  270. --- Test Case 3.2 (Default Heap)
  271. --- Result: SUCCESS
  272. ============================================================================
  273. === Test Sequence 4 (Objects Factory)
  274. ----------------------------------------------------------------------------
  275. --- Test Case 4.1 (Objects Registry)
  276. --- Result: SUCCESS
  277. ----------------------------------------------------------------------------
  278. --- Test Case 4.2 (Dynamic Buffers Factory)
  279. --- Result: SUCCESS
  280. ----------------------------------------------------------------------------
  281. --- Test Case 4.3 (Dynamic Semaphores Factory)
  282. --- Result: SUCCESS
  283. ----------------------------------------------------------------------------
  284. --- Test Case 4.4 (Dynamic Mailboxes Factory)
  285. --- Result: SUCCESS
  286. ----------------------------------------------------------------------------
  287. --- Test Case 4.5 (Dynamic Objects FIFOs Factory)
  288. --- Result: SUCCESS
  289. ----------------------------------------------------------------------------
  290. Final result: SUCCESS