git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1498 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
edfe4ce441
commit
1a9cc2599e
|
@ -89,51 +89,51 @@ Settings: SYSCLK=72, ACR=0x12 (2 wait states)
|
||||||
--- Result: SUCCESS
|
--- Result: SUCCESS
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
--- Test Case 11.1 (Benchmark, messages #1)
|
--- Test Case 11.1 (Benchmark, messages #1)
|
||||||
--- Score : 221785 msgs/S, 443570 ctxswc/S
|
--- Score : 221821 msgs/S, 443642 ctxswc/S
|
||||||
--- Result: SUCCESS
|
--- Result: SUCCESS
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
--- Test Case 11.2 (Benchmark, messages #2)
|
--- Test Case 11.2 (Benchmark, messages #2)
|
||||||
--- Score : 185682 msgs/S, 371364 ctxswc/S
|
--- Score : 185713 msgs/S, 371426 ctxswc/S
|
||||||
--- Result: SUCCESS
|
--- Result: SUCCESS
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
--- Test Case 11.3 (Benchmark, messages #3)
|
--- Test Case 11.3 (Benchmark, messages #3)
|
||||||
--- Score : 185682 msgs/S, 371364 ctxswc/S
|
--- Score : 185713 msgs/S, 371426 ctxswc/S
|
||||||
--- Result: SUCCESS
|
--- Result: SUCCESS
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
--- Test Case 11.4 (Benchmark, context switch)
|
--- Test Case 11.4 (Benchmark, context switch)
|
||||||
--- Score : 696832 ctxswc/S
|
--- Score : 696944 ctxswc/S
|
||||||
--- Result: SUCCESS
|
--- Result: SUCCESS
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
--- Test Case 11.5 (Benchmark, threads, full cycle)
|
--- Test Case 11.5 (Benchmark, threads, full cycle)
|
||||||
--- Score : 173577 threads/S
|
--- Score : 173605 threads/S
|
||||||
--- Result: SUCCESS
|
--- Result: SUCCESS
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
--- Test Case 11.6 (Benchmark, threads, create only)
|
--- Test Case 11.6 (Benchmark, threads, create only)
|
||||||
--- Score : 222482 threads/S
|
--- Score : 222517 threads/S
|
||||||
--- Result: SUCCESS
|
--- Result: SUCCESS
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
--- Test Case 11.7 (Benchmark, mass reschedulation, 5 threads)
|
--- Test Case 11.7 (Benchmark, mass reschedulation, 5 threads)
|
||||||
--- Score : 56945 reschedulations/S, 341670 ctxswc/S
|
--- Score : 56954 reschedulations/S, 341724 ctxswc/S
|
||||||
--- Result: SUCCESS
|
--- Result: SUCCESS
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
--- Test Case 11.8 (Benchmark, round robin context switching)
|
--- Test Case 11.8 (Benchmark, round robin context switching)
|
||||||
--- Score : 505212 reschedulations/S, 505212 ctxswc/S
|
--- Score : 505288 reschedulations/S, 505288 ctxswc/S
|
||||||
--- Result: SUCCESS
|
--- Result: SUCCESS
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
--- Test Case 11.9 (Benchmark, I/O Queues throughput)
|
--- Test Case 11.9 (Benchmark, I/O Queues throughput)
|
||||||
--- Score : 474964 bytes/S
|
--- Score : 475040 bytes/S
|
||||||
--- Result: SUCCESS
|
--- Result: SUCCESS
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
--- Test Case 11.10 (Benchmark, virtual timers set/reset)
|
--- Test Case 11.10 (Benchmark, virtual timers set/reset)
|
||||||
--- Score : 647444 timers/S
|
--- Score : 647548 timers/S
|
||||||
--- Result: SUCCESS
|
--- Result: SUCCESS
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
--- Test Case 11.11 (Benchmark, semaphores wait/signal)
|
--- Test Case 11.11 (Benchmark, semaphores wait/signal)
|
||||||
--- Score : 833304 wait+signal/S
|
--- Score : 833440 wait+signal/S
|
||||||
--- Result: SUCCESS
|
--- Result: SUCCESS
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
--- Test Case 11.12 (Benchmark, mutexes lock/unlock)
|
--- Test Case 11.12 (Benchmark, mutexes lock/unlock)
|
||||||
--- Score : 586700 lock+unlock/S
|
--- Score : 586792 lock+unlock/S
|
||||||
--- Result: SUCCESS
|
--- Result: SUCCESS
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
--- Test Case 11.13 (Benchmark, RAM footprint)
|
--- Test Case 11.13 (Benchmark, RAM footprint)
|
||||||
|
|
|
@ -277,9 +277,6 @@ msg_t TestThread(void *p) {
|
||||||
while (patterns[i]) {
|
while (patterns[i]) {
|
||||||
j = 0;
|
j = 0;
|
||||||
while (patterns[i][j]) {
|
while (patterns[i][j]) {
|
||||||
#if DELAY_BETWEEN_TESTS > 0
|
|
||||||
chThdSleepMilliseconds(DELAY_BETWEEN_TESTS);
|
|
||||||
#endif
|
|
||||||
print_line();
|
print_line();
|
||||||
test_print("--- Test Case ");
|
test_print("--- Test Case ");
|
||||||
test_printn(i + 1);
|
test_printn(i + 1);
|
||||||
|
@ -288,6 +285,9 @@ msg_t TestThread(void *p) {
|
||||||
test_print(" (");
|
test_print(" (");
|
||||||
test_print(patterns[i][j]->gettest());
|
test_print(patterns[i][j]->gettest());
|
||||||
test_println(")");
|
test_println(")");
|
||||||
|
#if DELAY_BETWEEN_TESTS > 0
|
||||||
|
chThdSleepMilliseconds(DELAY_BETWEEN_TESTS);
|
||||||
|
#endif
|
||||||
execute_test(patterns[i][j]);
|
execute_test(patterns[i][j]);
|
||||||
if (local_fail) {
|
if (local_fail) {
|
||||||
test_print("--- Result: FAILURE (#");
|
test_print("--- Result: FAILURE (#");
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#if defined(CH_ARCHITECTURE_AVR) || defined(CH_ARCHITECTURE_MSP430)
|
#if defined(CH_ARCHITECTURE_AVR) || defined(CH_ARCHITECTURE_MSP430)
|
||||||
#define THREADS_STACK_SIZE 48
|
#define THREADS_STACK_SIZE 48
|
||||||
#elif defined(CH_ARCHITECTURE_WIN32SIM)
|
#elif defined(CH_ARCHITECTURE_SIMIA32)
|
||||||
#define THREADS_STACK_SIZE 512
|
#define THREADS_STACK_SIZE 512
|
||||||
#else
|
#else
|
||||||
#define THREADS_STACK_SIZE 128
|
#define THREADS_STACK_SIZE 128
|
||||||
|
|
Loading…
Reference in New Issue