240 lines
11 KiB
Plaintext
240 lines
11 KiB
Plaintext
|
|
*** ChibiOS/RT Test Suite
|
|
***
|
|
*** Compiled: Mar 17 2020 - 14:25:56
|
|
*** Platform: STM32F303xC Analog & DSP
|
|
*** Test Board: STMicroelectronics STM32F3-Discovery
|
|
|
|
============================================================================
|
|
=== Test Sequence 1 (Information)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 1.1 (Port Info)
|
|
--- Architecture: ARMv7E-M
|
|
--- Core Variant: Cortex-M4
|
|
--- Compiler: RVCT
|
|
--- Port Info: Advanced kernel mode
|
|
--- 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: 6.1.0
|
|
--- Major Number: 6
|
|
--- Minor Number: 1
|
|
--- Patch Number: 0
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 1.3 (Kernel Settings)
|
|
--- CH_CFG_ST_RESOLUTION: 32
|
|
--- CH_CFG_ST_FREQUENCY: 10000
|
|
--- CH_CFG_INTERVALS_SIZE: 32
|
|
--- CH_CFG_TIME_TYPES_SIZE: 32
|
|
--- CH_CFG_ST_TIMEDELTA: 2
|
|
--- 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: 1
|
|
--- CH_CFG_USE_REGISTRY: 1
|
|
--- CH_CFG_USE_WAITEXIT: 1
|
|
--- CH_CFG_USE_SEMAPHORES: 1
|
|
--- CH_CFG_USE_SEMAPHORES_PRIORITY: 0
|
|
--- CH_CFG_USE_MUTEXES: 1
|
|
--- CH_CFG_USE_MUTEXES_RECURSIVE: 0
|
|
--- CH_CFG_USE_CONDVARS: 1
|
|
--- CH_CFG_USE_CONDVARS_TIMEOUT: 1
|
|
--- CH_CFG_USE_EVENTS: 1
|
|
--- CH_CFG_USE_EVENTS_TIMEOUT: 1
|
|
--- CH_CFG_USE_MESSAGES: 1
|
|
--- CH_CFG_USE_MESSAGES_PRIORITY: 0
|
|
--- 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: 0
|
|
--- 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 Sequence 3 (Time and Intervals Functionality)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 3.1 (System Tick Counter functionality)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 3.2 (Time ranges functionality)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 4 (Threads Functionality)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 4.1 (Thread Sleep functionality)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 4.2 (Ready List functionality, threads priority order)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 4.3 (Priority change test)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 4.4 (Priority change test with Priority Inheritance)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 5 (Suspend/Resume)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 5.1 (Suspend and Resume functionality)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 6 (Counter Semaphores)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 6.1 (Semaphore primitives, no state change)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 6.2 (Semaphore enqueuing test)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 6.3 (Semaphore timeout test)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 6.4 (Testing chSemAddCounterI() functionality)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 6.5 (Testing chSemWaitSignal() functionality)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 6.6 (Testing Binary Semaphores special case)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 7 (Mutexes, Condition Variables and Priority Inheritance)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 7.1 (Priority enqueuing test)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 7.2 (Priority return verification)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 7.3 (Repeated locks, non recursive scenario)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 7.4 (Condition Variable signal test)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 7.5 (Condition Variable broadcast test)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 7.6 (Condition Variable priority boost test)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 8 (Synchronous Messages)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 8.1 (Messages Server loop)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 9 (Event Sources and Event Flags)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 9.1 (Events registration)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 9.2 (Event Flags dispatching)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 9.3 (Events Flags wait using chEvtWaitOne())
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 9.4 (Events Flags wait using chEvtWaitAny())
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 9.5 (Events Flags wait using chEvtWaitAll())
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 9.6 (Events Flags wait timeouts)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 9.7 (Broadcasting using chEvtBroadcast())
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 10 (Dynamic threads)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 10.1 (Threads creation from Memory Heap)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 10.2 (Threads creation from Memory Pool)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 11 (Benchmarks)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 11.1 (Messages performance #1)
|
|
--- Score : 240753 msgs/S, 481506 ctxswc/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 11.2 (Messages performance #2)
|
|
--- Score : 202776 msgs/S, 405552 ctxswc/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 11.3 (Messages performance #3)
|
|
--- Score : 202777 msgs/S, 405554 ctxswc/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 11.4 (Context Switch performance)
|
|
--- Score : 856976 ctxswc/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 11.5 (Threads performance, full cycle)
|
|
--- Score : 143971 threads/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 11.6 (Threads performance, create/exit only)
|
|
--- Score : 190439 threads/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 11.7 (Mass reschedule performance)
|
|
--- Score : 64970 reschedules/S, 389820 ctxswc/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 11.8 (Round-Robin voluntary reschedule)
|
|
--- Score : 495600 ctxswc/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 11.9 (Virtual Timers set/reset performance)
|
|
--- Score : 328850 timers/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 11.10 (Semaphores wait/signal performance)
|
|
--- Score : 815684 wait+signal/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 11.11 (Mutexes lock/unlock performance)
|
|
--- Score : 598620 lock+unlock/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 11.12 (RAM Footprint)
|
|
--- System: 120 bytes
|
|
--- Thread: 68 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
|
|
|