git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@488 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2008-11-01 16:46:53 +00:00
parent 7a8e607f32
commit 69d06df416
3 changed files with 77 additions and 2 deletions

View File

@ -109,7 +109,7 @@ ASRC =
# Optimization level, can be [0, 1, 2, 3, s].
# 0 = turn off optimization. s = optimize for size.
# (Note: 3 is not always the best optimization level. See avr-libc FAQ.)
OPT = s
OPT = 2
# Debugging format.

View File

@ -117,7 +117,7 @@
* provide the \p __heap_base__ and \p __heap_end__ symbols.
* @note requires \p CH_USE_HEAP.
*/
#define CH_HEAP_SIZE 128
#define CH_HEAP_SIZE 512
/** Configuration option: enforces the use of the C-runtime \p malloc() and
* \p free() functions as backend for the system heap allocator.*/

View File

@ -0,0 +1,75 @@
***************************************************************************
Kernel: ChibiOS/RT 0.7.3
Compiler: GCC 4.3.0 (WinAVR 10.06.2008)
Options: -O2
Settings: F_CPU=16000000
***************************************************************************
---------------------------------------------------------------------------
--- Test Case 1 (Ready List, priority enqueuing test #1)
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 2 (Ready List, priority enqueuing test #2)
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 3 (Semaphores, FIFO enqueuing test)
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 4 (Semaphores, timeout test)
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 5 (Mutexes, priority enqueuing test)
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 6 (Mutexes, priority inheritance, simple case)
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 7 (Mutexes, priority inheritance, complex case)
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 8 (Messages, dispatch test)
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 9 (Heap, allocation and fragmentation test)
--- Size : 508 bytes, not fragmented
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 10 (Memory Pools, allocation and enqueuing test)
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 11 (Dynamic APIs, threads creation from heap)
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 12 (Dynamic APIs, threads creation from memory pool)
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 13 (Benchmark, context switch #1, optimal)
--- Score : 30775 msgs/S, 61550 ctxswc/S
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 14 (Benchmark, context switch #2, empty ready list)
--- Score : 24524 msgs/S, 49048 ctxswc/S
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 15 (Benchmark, context switch #3, 4 threads in ready list)
--- Score : 24524 msgs/S, 49048 ctxswc/S
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 16 (Benchmark, threads creation/termination, worst case)
--- Score : 18140 threads/S
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 17 (Benchmark, threads creation/termination, optimal)
--- Score : 23645 threads/S
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 18 (Benchmark, mass reschedulation, 5 threads)
--- Score : 7739 reschedulations/S, 46434 ctxswc/S
--- Result: SUCCESS
---------------------------------------------------------------------------
--- Test Case 19 (Benchmark, I/O Queues throughput)
--- Score : 84048 bytes/S
--- Result: SUCCESS
---------------------------------------------------------------------------
Final result: SUCCESS