aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-11-01 16:46:53 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-11-01 16:46:53 +0000
commit69d06df416f4aa337de7183b6ed54ffe527ca0c0 (patch)
tree232fbd80a82538cd2524d8a9f088d5e1a33187ef
parent7a8e607f325e9a22e0dccdfa387e8c2dd09fec58 (diff)
downloadChibiOS-69d06df416f4aa337de7183b6ed54ffe527ca0c0.tar.gz
ChibiOS-69d06df416f4aa337de7183b6ed54ffe527ca0c0.tar.bz2
ChibiOS-69d06df416f4aa337de7183b6ed54ffe527ca0c0.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@488 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--demos/AVR-ATmega128-GCC/Makefile2
-rw-r--r--demos/AVR-ATmega128-GCC/chconf.h2
-rw-r--r--docs/reports/ATmega128-16.txt75
3 files changed, 77 insertions, 2 deletions
diff --git a/demos/AVR-ATmega128-GCC/Makefile b/demos/AVR-ATmega128-GCC/Makefile
index 89b5118ff..f291af1fb 100644
--- a/demos/AVR-ATmega128-GCC/Makefile
+++ b/demos/AVR-ATmega128-GCC/Makefile
@@ -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.
diff --git a/demos/AVR-ATmega128-GCC/chconf.h b/demos/AVR-ATmega128-GCC/chconf.h
index 6ec07fca9..a3e829134 100644
--- a/demos/AVR-ATmega128-GCC/chconf.h
+++ b/demos/AVR-ATmega128-GCC/chconf.h
@@ -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.*/
diff --git a/docs/reports/ATmega128-16.txt b/docs/reports/ATmega128-16.txt
new file mode 100644
index 000000000..f96f33174
--- /dev/null
+++ b/docs/reports/ATmega128-16.txt
@@ -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