From a528517b440c7b45ad4da7e7ae8c66247dc7c2f0 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 5 Mar 2010 19:06:22 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1714 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM8S-STM8S208-RC/ch.rapp | 6 ++--- demos/STM8S-STM8S208-RC/chconf.h | 8 +++---- docs/reports/STM8S208-16.txt | 38 +++++++++++++++++++++----------- 3 files changed, 32 insertions(+), 20 deletions(-) diff --git a/demos/STM8S-STM8S208-RC/ch.rapp b/demos/STM8S-STM8S208-RC/ch.rapp index e2f6cea41..9c2ea401b 100644 --- a/demos/STM8S-STM8S208-RC/ch.rapp +++ b/demos/STM8S-STM8S208-RC/ch.rapp @@ -65,9 +65,9 @@ - + - + @@ -104,7 +104,7 @@ - + diff --git a/demos/STM8S-STM8S208-RC/chconf.h b/demos/STM8S-STM8S208-RC/chconf.h index 7f7c10431..76f9b3453 100644 --- a/demos/STM8S-STM8S208-RC/chconf.h +++ b/demos/STM8S-STM8S208-RC/chconf.h @@ -293,7 +293,7 @@ * @note The default is @p TRUE. */ #if !defined(CH_USE_MEMCORE) || defined(__DOXYGEN__) -#define CH_USE_MEMCORE FALSE +#define CH_USE_MEMCORE TRUE #endif /** @@ -307,7 +307,7 @@ * @note Mutexes are recommended. */ #if !defined(CH_USE_HEAP) || defined(__DOXYGEN__) -#define CH_USE_HEAP FALSE +#define CH_USE_HEAP TRUE #endif /** @@ -332,7 +332,7 @@ * @note The default is @p TRUE. */ #if !defined(CH_USE_MEMPOOLS) || defined(__DOXYGEN__) -#define CH_USE_MEMPOOLS FALSE +#define CH_USE_MEMPOOLS TRUE #endif /** @@ -345,7 +345,7 @@ * @note Requires @p CH_USE_HEAP and/or @p CH_USE_MEMPOOLS. */ #if !defined(CH_USE_DYNAMIC) || defined(__DOXYGEN__) -#define CH_USE_DYNAMIC FALSE +#define CH_USE_DYNAMIC TRUE #endif /*===========================================================================*/ diff --git a/docs/reports/STM8S208-16.txt b/docs/reports/STM8S208-16.txt index b1f37b9ae..2046ad681 100644 --- a/docs/reports/STM8S208-16.txt +++ b/docs/reports/STM8S208-16.txt @@ -44,6 +44,18 @@ Compiler: Raisonance --- Test Case 6.3 (Events, timeouts) --- Result: SUCCESS ---------------------------------------------------------------------------- +--- Test Case 7.1 (Heap, allocation and fragmentation test) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 8.1 (Memory Pools, queue/dequeue) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 9.1 (Dynamic APIs, threads creation from heap) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 9.2 (Dynamic APIs, threads creation from memory pool) +--- Result: SUCCESS +---------------------------------------------------------------------------- --- Test Case 10.1 (Queues, input queues) --- Result: SUCCESS ---------------------------------------------------------------------------- @@ -51,52 +63,52 @@ Compiler: Raisonance --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.1 (Benchmark, messages #1) ---- Score : 31903 msgs/S, 63806 ctxswc/S +--- Score : 31840 msgs/S, 63680 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.2 (Benchmark, messages #2) ---- Score : 24897 msgs/S, 49794 ctxswc/S +--- Score : 24743 msgs/S, 49486 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.3 (Benchmark, messages #3) ---- Score : 24897 msgs/S, 49794 ctxswc/S +--- Score : 24743 msgs/S, 49486 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.4 (Benchmark, context switch) ---- Score : 111488 ctxswc/S +--- Score : 112568 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.5 (Benchmark, threads, full cycle) ---- Score : 19540 threads/S +--- Score : 18457 threads/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.6 (Benchmark, threads, create only) ---- Score : 28852 threads/S +--- Score : 28904 threads/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.7 (Benchmark, mass reschedulation, 5 threads) ---- Score : 7322 reschedulations/S, 43932 ctxswc/S +--- Score : 7336 reschedulations/S, 44016 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.8 (Benchmark, round robin context switching) ---- Score : 72160 reschedulations/S, 72160 ctxswc/S +--- Score : 71920 reschedulations/S, 71920 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.9 (Benchmark, I/O Queues throughput) ---- Score : 69160 bytes/S +--- Score : 69028 bytes/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.10 (Benchmark, virtual timers set/reset) ---- Score : 64842 timers/S +--- Score : 64712 timers/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.11 (Benchmark, semaphores wait/signal) ---- Score : 200420 wait+signal/S +--- Score : 201052 wait+signal/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.12 (Benchmark, RAM footprint) ---- System: 173 bytes ---- Thread: 26 bytes +--- System: 179 bytes +--- Thread: 29 bytes --- Timer : 10 bytes --- Semaph: 6 bytes --- EventS: 2 bytes