From 23c7476ac4f0ebfc7b09d9858149d9bf79f1122e Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 1 Oct 2017 19:23:02 +0000 Subject: Changed my mind, modified types. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10742 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- test/rt/configuration.xml | 2321 +++++++++++++++---------------- test/rt/source/test/test_sequence_010.c | 3 +- 2 files changed, 1161 insertions(+), 1163 deletions(-) (limited to 'test/rt') diff --git a/test/rt/configuration.xml b/test/rt/configuration.xml index 3c697723e..162b85bd2 100644 --- a/test/rt/configuration.xml +++ b/test/rt/configuration.xml @@ -10,20 +10,20 @@ - @@ -32,46 +32,46 @@ - @@ -93,56 +93,56 @@ systime_t test_wait_tick(void);]]> #endif } -/* - * Global test buffer holding 5 working areas. - */ -ALIGNED_VAR(PORT_WORKING_AREA_ALIGN) uint8_t test_buffer[WA_SIZE * 5]; - -/* - * Pointers to the spawned threads. - */ -thread_t *threads[MAX_THREADS]; - -/* - * Pointers to the working areas. - */ -void * ROMCONST wa[5] = {test_buffer + (WA_SIZE * 0), - test_buffer + (WA_SIZE * 1), - test_buffer + (WA_SIZE * 2), - test_buffer + (WA_SIZE * 3), - test_buffer + (WA_SIZE * 4)}; - -/* - * Sets a termination request in all the test-spawned threads. - */ -void test_terminate_threads(void) { - unsigned i; - - for (i = 0; i < MAX_THREADS; i++) - if (threads[i]) - chThdTerminate(threads[i]); -} - -/* - * Waits for the completion of all the test-spawned threads. - */ -void test_wait_threads(void) { - unsigned i; - - for (i = 0; i < MAX_THREADS; i++) - if (threads[i] != NULL) { - chThdWait(threads[i]); - threads[i] = NULL; - } -} - -/* - * Delays execution until next system time tick. - */ -systime_t test_wait_tick(void) { - - chThdSleep(1); - return chVTGetSystemTime(); +/* + * Global test buffer holding 5 working areas. + */ +ALIGNED_VAR(PORT_WORKING_AREA_ALIGN) uint8_t test_buffer[WA_SIZE * 5]; + +/* + * Pointers to the spawned threads. + */ +thread_t *threads[MAX_THREADS]; + +/* + * Pointers to the working areas. + */ +void * ROMCONST wa[5] = {test_buffer + (WA_SIZE * 0), + test_buffer + (WA_SIZE * 1), + test_buffer + (WA_SIZE * 2), + test_buffer + (WA_SIZE * 3), + test_buffer + (WA_SIZE * 4)}; + +/* + * Sets a termination request in all the test-spawned threads. + */ +void test_terminate_threads(void) { + unsigned i; + + for (i = 0; i < MAX_THREADS; i++) + if (threads[i]) + chThdTerminate(threads[i]); +} + +/* + * Waits for the completion of all the test-spawned threads. + */ +void test_wait_threads(void) { + unsigned i; + + for (i = 0; i < MAX_THREADS; i++) + if (threads[i] != NULL) { + chThdWait(threads[i]); + threads[i] = NULL; + } +} + +/* + * Delays execution until next system time tick. + */ +systime_t test_wait_tick(void) { + + chThdSleep(1); + return chVTGetSystemTime(); }]]> @@ -365,21 +365,21 @@ test_println("");]]> - @@ -413,9 +413,9 @@ static void vtcb(void *p) { - @@ -427,9 +427,9 @@ test_assert(result == false, "ready list check failed");]]> - @@ -441,9 +441,9 @@ test_assert(result == false, "virtual timers list check failed");]]> - @@ -455,9 +455,9 @@ test_assert(result == false, "registry list check failed");]]> - @@ -481,7 +481,7 @@ test_assert(result == false, "port layer check failed");]]> - @@ -494,7 +494,7 @@ virtual_timer_t vt;]]> - @@ -506,9 +506,9 @@ chSysRestoreStatusX(sts);]]> - @@ -520,8 +520,8 @@ chSysUnlock();]]> - @@ -533,8 +533,8 @@ chSysUnlock();]]> - @@ -546,10 +546,10 @@ chSysUnconditionalUnlock();]]> - @@ -585,9 +585,9 @@ test_assert(chVTIsArmed(&vt) == false, "timer still armed");]]> - @@ -623,11 +623,11 @@ chSysEnable();]]> - @@ -649,9 +649,9 @@ while (time == chVTGetSystemTimeX()) { - @@ -685,10 +685,10 @@ while (time == chVTGetSystemTimeX()) { - @@ -700,10 +700,10 @@ test_assert_time_window(time + 100, - @@ -715,10 +715,10 @@ test_assert_time_window(time + US2ST(100000), - @@ -730,10 +730,10 @@ test_assert_time_window(time + MS2ST(100), - @@ -745,10 +745,10 @@ test_assert_time_window(time + S2ST(1), - @@ -784,12 +784,12 @@ test_assert_time_window(time + 100, - @@ -801,12 +801,12 @@ test_assert_sequence("ABCDE", "invalid sequence");]]> - @@ -818,12 +818,12 @@ test_assert_sequence("ABCDE", "invalid sequence");]]> - @@ -859,9 +859,9 @@ test_assert_sequence("ABCDE", "invalid sequence");]]> - @@ -873,8 +873,8 @@ test_assert(chThdGetPriorityX() == prio + 1, "unexpected priority level");]]> - @@ -910,8 +910,8 @@ test_assert(chThdGetPriorityX() == prio, "unexpected priority level");]]> - prio += 2; + prio += 2; test_assert(chThdGetPriorityX() == prio + 2, "unexpected priority level");]]> @@ -923,9 +923,9 @@ test_assert(chThdGetPriorityX() == prio + 2, "unexpected priority level");]]> - prio == prio + 2, "unexpected priority level"); + prio == prio + 2, "unexpected priority level"); test_assert(chThdGetSelfX()->realprio == prio + 1, "unexpected returned real priority level");]]> @@ -937,9 +937,9 @@ test_assert(chThdGetSelfX()->realprio == prio + 1, "unexpected returned real pri - prio == prio + 3, "unexpected priority level"); + prio == prio + 3, "unexpected priority level"); test_assert(chThdGetSelfX()->realprio == prio + 3, "unexpected real priority level");]]> @@ -951,9 +951,9 @@ test_assert(chThdGetSelfX()->realprio == prio + 3, "unexpected real priority lev - prio = prio; -chThdGetSelfX()->realprio = prio; + prio = prio; +chThdGetSelfX()->realprio = prio; chSysUnlock();]]> @@ -975,15 +975,15 @@ chSysUnlock();]]> - @@ -1005,7 +1005,7 @@ static THD_FUNCTION(thread1, p) { - @@ -1018,12 +1018,12 @@ msg_t msg;]]> - @@ -1035,14 +1035,14 @@ test_wait_threads();]]> - @@ -1064,36 +1064,36 @@ test_assert(MSG_TIMEOUT == msg, "wrong returned message");]]> CH_CFG_USE_SEMAPHORES - @@ -1127,10 +1127,10 @@ static THD_FUNCTION(thread4, p) { - @@ -1142,7 +1142,7 @@ test_assert(MSG_OK == msg, "wrong returned message");]]> - @@ -1154,7 +1154,7 @@ test_assert_lock(chSemGetCounterI(&sem1) == 1, "wrong counter value");]]> - @@ -1190,10 +1190,10 @@ test_assert_lock(chSemGetCounterI(&sem1) == 2, "wrong counter value");]]> - @@ -1205,16 +1205,16 @@ threads[4] = chThdCreateStatic(wa[4], WA_SIZE, chThdGetPriorityX()+2, thread1, " - @@ -1238,8 +1238,8 @@ test_assert_sequence("ABCDE", "invalid sequence"); - @@ -1252,9 +1252,9 @@ msg_t msg;]]> - @@ -1266,12 +1266,12 @@ test_assert(sem1.cnt == 0, "counter not zero");]]> - @@ -1283,16 +1283,16 @@ test_assert(sem1.cnt == 0, "counter not zero");]]> - @@ -1339,12 +1339,12 @@ test_assert_time_window(target_time, target_time + ALLOWED_DELAY, - @@ -1391,8 +1391,8 @@ test_assert_sequence("A", "invalid sequence");]]> - @@ -1404,8 +1404,8 @@ test_assert(sem1.cnt == 0, "counter not zero");]]> - @@ -1429,7 +1429,7 @@ test_assert(sem1.cnt == 0, "counter not zero");]]> - @@ -1442,7 +1442,7 @@ msg_t msg;]]> - @@ -1454,7 +1454,7 @@ test_assert_lock(chBSemGetStateI(&bsem) == true, "not taken");]]> - @@ -1466,7 +1466,7 @@ test_assert_lock(chBSemGetStateI(&bsem) == true, "not taken");]]> - @@ -1478,8 +1478,8 @@ test_assert_lock(chBSemGetStateI(&bsem) == true, "not taken");]]> - @@ -1491,8 +1491,8 @@ test_assert(msg == MSG_OK, "unexpected message");]]> - @@ -1504,8 +1504,8 @@ test_assert_lock(chSemGetCounterI(&bsem.sem) == 1, "unexpected counter");]]> - @@ -1527,178 +1527,178 @@ test_assert_lock(chSemGetCounterI(&bsem.sem) == 1, "unexpected counter");]]>CH_CFG_USE_MUTEXES - @@ -1754,10 +1754,10 @@ static THD_FUNCTION(thread9, p) { - @@ -1769,9 +1769,9 @@ threads[4] = chThdCreateStatic(wa[4], WA_SIZE, prio+5, thread1, "A");]]> - @@ -1818,10 +1818,10 @@ test_assert_sequence("ABCDE", "invalid sequence");]]> - @@ -1833,7 +1833,7 @@ test_assert_sequence("ABC", "invalid sequence");]]> - @@ -1851,7 +1851,7 @@ test_assert_sequence("ABC", "invalid sequence");]]> - @@ -1881,12 +1881,12 @@ chMtxObjectInit(&m2); /* Mutex A.*/]]> - @@ -1898,7 +1898,7 @@ test_assert_sequence("ABCDE", "invalid sequence");]]> - @@ -1917,7 +1917,7 @@ Thread A performs wait(50), lock(m1), unlock(m1), exit. Thread B performs wait(1 - @@ -1936,8 +1936,8 @@ chMtxObjectInit(&m2);]]> - @@ -1949,7 +1949,7 @@ pb = p + 2;]]> - @@ -1961,7 +1961,7 @@ threads[1] = chThdCreateStatic(wa[1], WA_SIZE, pb, thread4B, "B");]]> - @@ -1973,7 +1973,7 @@ test_assert(chThdGetPriorityX() == p, "wrong priority level");]]> - @@ -1985,7 +1985,7 @@ test_assert(chThdGetPriorityX() == pa, "wrong priority level");]]> - @@ -1997,7 +1997,7 @@ test_assert(chThdGetPriorityX() == pa, "wrong priority level");]]> - @@ -2009,7 +2009,7 @@ test_assert(chThdGetPriorityX() == pb, "wrong priority level");]]> - @@ -2021,7 +2021,7 @@ test_assert(chThdGetPriorityX() == pa, "wrong priority level");]]> - @@ -2045,7 +2045,7 @@ test_assert(chThdGetPriorityX() == p, "wrong priority level");]]> - @@ -2069,7 +2069,7 @@ tprio_t prio;]]> - @@ -2081,7 +2081,7 @@ test_assert(b, "already locked");]]> - @@ -2093,8 +2093,8 @@ test_assert(!b, "not locked");]]> - @@ -2117,13 +2117,13 @@ test_assert(queue_isempty(&m1.queue), "queue not empty");]]> - @@ -2158,7 +2158,7 @@ test_assert(queue_isempty(&m1.queue), "queue not empty");]]> - @@ -2182,7 +2182,7 @@ tprio_t prio;]]> - @@ -2194,7 +2194,7 @@ test_assert(b, "already locked");]]> - @@ -2206,7 +2206,7 @@ test_assert(b, "already locked");]]> - @@ -2218,8 +2218,8 @@ test_assert(m1.owner != NULL, "not owned");]]> - @@ -2242,18 +2242,18 @@ test_assert(queue_isempty(&m1.queue), "queue not empty");]]> - @@ -2265,16 +2265,16 @@ test_assert(m1.cnt == 0, "invalid recursion counter");]]> - @@ -2304,7 +2304,7 @@ The test expects the threads to reach their goal in increasing priority order re - @@ -2323,11 +2323,11 @@ chMtxObjectInit(&m1);]]> - @@ -2339,15 +2339,15 @@ threads[4] = chThdCreateStatic(wa[4], WA_SIZE, prio+5, thread6, "A");]]> - @@ -2366,7 +2366,7 @@ The test expects the threads to reach their goal in increasing priority order re - @@ -2385,11 +2385,11 @@ chMtxObjectInit(&m1);]]> - @@ -2401,8 +2401,8 @@ threads[4] = chThdCreateStatic(wa[4], WA_SIZE, prio+5, thread6, "A");]]> - @@ -2420,8 +2420,8 @@ test_assert_sequence("ABCDE", "invalid sequence");]]> - @@ -2506,7 +2506,7 @@ chMtxObjectInit(&m2);]]> - @@ -2528,12 +2528,12 @@ test_assert_sequence("ABC", "invalid sequence");]]> CH_CFG_USE_MESSAGES - @@ -2556,7 +2556,7 @@ The test expect to receive the messages in the correct sequence and to not find - @@ -2569,7 +2569,7 @@ msg_t msg;]]> - @@ -2581,15 +2581,15 @@ msg_t msg;]]> - @@ -2611,26 +2611,26 @@ test_assert_sequence("ABCD", "invalid sequence");]]> CH_CFG_USE_EVENTS - @@ -2676,8 +2676,8 @@ The test expects that the even source has listeners after the registrations and - @@ -2689,7 +2689,7 @@ test_assert_lock(chEvtIsListeningI(&es1), "no listener");]]> - @@ -2701,7 +2701,7 @@ test_assert_lock(chEvtIsListeningI(&es1), "no listener");]]> - @@ -2737,7 +2737,7 @@ test_assert_lock(!chEvtIsListeningI(&es1), "stuck listener");]]> - @@ -2761,7 +2761,7 @@ test_assert_sequence("ABC", "invalid sequence");]]> - @@ -2785,13 +2785,13 @@ systime_t target_time;]]> - @@ -2803,8 +2803,8 @@ test_assert(m == 0, "stuck event");]]> - @@ -2816,12 +2816,12 @@ threads[0] = chThdCreateStatic(wa[0], WA_SIZE, chThdGetPriorityX() - 1, - @@ -2845,7 +2845,7 @@ test_wait_threads();]]> - @@ -2869,9 +2869,9 @@ systime_t target_time;]]> - @@ -2883,8 +2883,8 @@ test_assert(m == 0, "stuck event");]]> - @@ -2896,12 +2896,12 @@ threads[0] = chThdCreateStatic(wa[0], WA_SIZE, chThdGetPriorityX() - 1, - @@ -2925,7 +2925,7 @@ test_wait_threads();]]> - @@ -2949,9 +2949,9 @@ systime_t target_time;]]> - @@ -2974,8 +2974,8 @@ test_assert(m == 0, "stuck event");]]> - @@ -2987,12 +2987,12 @@ threads[0] = chThdCreateStatic(wa[0], WA_SIZE, chThdGetPriorityX() - 1, - @@ -3028,11 +3028,11 @@ test_wait_threads();]]> - @@ -3044,11 +3044,11 @@ test_assert(m == 0, "spurious event");]]> - @@ -3066,16 +3066,16 @@ test_assert(m == 0, "spurious event");]]> - - @@ -3088,7 +3088,7 @@ systime_t target_time;]]> - @@ -3100,8 +3100,8 @@ chEvtRegisterMask(&es2, &el2, 4);]]> - @@ -3113,11 +3113,11 @@ threads[0] = chThdCreateStatic(wa[0], WA_SIZE, chThdGetPriorityX() - 1, - @@ -3129,9 +3129,9 @@ test_wait_threads();]]> - @@ -3153,9 +3153,9 @@ test_assert(!chEvtIsListeningI(&es2), "stuck listener");]]> CH_CFG_USE_MAILBOXES - @@ -3177,7 +3177,7 @@ static MAILBOX_DECL(mb1, mb_buffer, MB_SIZE);]]> - @@ -3201,10 +3201,10 @@ unsigned i;]]> - @@ -3233,11 +3233,11 @@ chMBResumeX(&mb1);]]> - @@ -3249,8 +3249,8 @@ test_assert(msg1 == MSG_OK, "wrong wake-up message");]]> - @@ -3262,11 +3262,11 @@ test_assert_lock(mb1.rdptr == mb1.wrptr, "pointers not aligned");]]> - @@ -3278,9 +3278,9 @@ test_assert_sequence("ABCD", "wrong get sequence");]]> - @@ -3292,9 +3292,9 @@ test_assert(msg1 == MSG_OK, "wrong wake-up message");]]> - @@ -3318,7 +3318,7 @@ test_assert(mb1.buffer == mb1.rdptr, "read pointer not aligned to base");]]> - @@ -3342,12 +3342,12 @@ unsigned i;]]> - @@ -3360,15 +3360,15 @@ chMBResumeX(&mb1);]]> - @@ -3380,8 +3380,8 @@ test_assert(msg1 == MSG_OK, "wrong wake-up message");]]> - @@ -3393,13 +3393,13 @@ test_assert_lock(mb1.rdptr == mb1.wrptr, "pointers not aligned");]]> - @@ -3411,9 +3411,9 @@ test_assert_sequence("ABCD", "wrong get sequence");]]> - @@ -3425,9 +3425,9 @@ test_assert(msg1 == MSG_OK, "wrong wake-up message");]]> - @@ -3451,7 +3451,7 @@ test_assert(mb1.buffer == mb1.rdptr, "read pointer not aligned to base");]]> - @@ -3464,9 +3464,9 @@ unsigned i;]]> - @@ -3478,17 +3478,17 @@ unsigned i;]]> - @@ -3512,11 +3512,11 @@ chMBResumeX(&mb1);]]> - @@ -3538,22 +3538,21 @@ test_assert(msg1 == MSG_TIMEOUT, "wrong wake-up message");]]> CH_CFG_USE_MEMPOOLS - @@ -3598,7 +3597,7 @@ static void *null_provider(size_t size, unsigned align, size_t offset) { - @@ -3621,7 +3620,7 @@ static void *null_provider(size_t size, unsigned align, size_t offset) { - @@ -3633,7 +3632,7 @@ static void *null_provider(size_t size, unsigned align, size_t offset) { - @@ -3656,7 +3655,7 @@ static void *null_provider(size_t size, unsigned align, size_t offset) { - @@ -3703,7 +3702,7 @@ test_assert(chPoolAlloc(&mp1) == NULL, "provider returned memory");]]> - @@ -3726,7 +3725,7 @@ test_assert(chPoolAlloc(&mp1) == NULL, "provider returned memory");]]> - @@ -3738,7 +3737,7 @@ test_assert(chPoolAlloc(&mp1) == NULL, "provider returned memory");]]> - @@ -3806,9 +3805,9 @@ test_assert(chPoolAlloc(&mp1) == NULL, "provider returned memory");]]> CH_CFG_USE_HEAP - @@ -3830,7 +3829,7 @@ memory_heap_t test_heap;]]> - @@ -3854,7 +3853,7 @@ size_t n, sz;]]> - @@ -3866,8 +3865,8 @@ test_assert(p1 == NULL, "allocation not failed");]]> - @@ -3879,11 +3878,11 @@ chHeapFree(p1);]]> - = ALLOC_SIZE, "unexpected heap state"); + = ALLOC_SIZE, "unexpected heap state"); test_assert(total_size == largest_size, "unexpected heap state");]]> @@ -3895,12 +3894,12 @@ test_assert(total_size == largest_size, "unexpected heap state");]]> - @@ -3912,12 +3911,12 @@ test_assert(chHeapStatus(&test_heap, &n, NULL) == 1, "heap fragmented");]]> - @@ -3929,17 +3928,17 @@ test_assert(chHeapStatus(&test_heap, &n, NULL) == 1, "heap fragmented");]]> - @@ -3951,13 +3950,13 @@ test_assert(chHeapStatus(&test_heap, &n, NULL) == 1, "heap fragmented");]]> - @@ -3969,10 +3968,10 @@ test_assert(chHeapStatus(&test_heap, &n, NULL) == 1, "heap fragmented");]]> - @@ -3984,7 +3983,7 @@ chHeapFree(p1);]]> - @@ -4008,7 +4007,7 @@ test_assert(n == sz, "size changed");]]> - @@ -4021,9 +4020,9 @@ size_t total_size, largest_size;]]> - @@ -4035,7 +4034,7 @@ chHeapFree(p1);]]> - @@ -4057,16 +4056,16 @@ test_assert(p1 == NULL, "allocation not failed");]]> CH_CFG_USE_DYNAMIC - @@ -4089,8 +4088,8 @@ The test expects the first two threads to successfully start and the third one t - @@ -4114,7 +4113,7 @@ tprio_t prio;]]> - @@ -4126,10 +4125,10 @@ test_assert(n1 == 1, "heap fragmented");]]> - @@ -4141,10 +4140,10 @@ test_assert(threads[0] != NULL, "thread creation failed");]]> - @@ -4156,10 +4155,10 @@ test_assert(threads[1] != NULL, "thread creation failed");]]> - @@ -4171,7 +4170,7 @@ test_assert(threads[2] == NULL, "thread creation not failed");]]> - @@ -4183,9 +4182,9 @@ test_assert_sequence("AB", "invalid sequence");]]> - @@ -4210,7 +4209,7 @@ The test expects the first four threads to successfully start and the last one t - @@ -4223,7 +4222,7 @@ tprio_t prio;]]> - @@ -4246,10 +4245,10 @@ tprio_t prio;]]> - @@ -4261,12 +4260,12 @@ threads[4] = chThdCreateFromMemoryPool(&mp1, "dyn5", prio-5, dyn_thread1, "E");] - @@ -4278,7 +4277,7 @@ test_assert(threads[4] == NULL, - @@ -4290,8 +4289,8 @@ test_assert_sequence("ABCD", "invalid sequence");]]> - @@ -4314,85 +4313,85 @@ Objective of the test sequence is to provide a performance index for the most cr - u.rdymsg; - } while (msg == MSG_OK); - chSysUnlock(); -} - -#if CH_CFG_USE_SEMAPHORES -static THD_FUNCTION(bmk_thread7, p) { - - (void)p; - while (!chThdShouldTerminateX()) - chSemWait(&sem1); -} -#endif - -static THD_FUNCTION(bmk_thread8, p) { - - do { - chThdYield(); - chThdYield(); - chThdYield(); - chThdYield(); - (*(uint32_t *)p) += 4; -#if defined(SIMULATOR) - _sim_check_for_interrupts(); -#endif - } while(!chThdShouldTerminateX()); + u.rdymsg; + } while (msg == MSG_OK); + chSysUnlock(); +} + +#if CH_CFG_USE_SEMAPHORES +static THD_FUNCTION(bmk_thread7, p) { + + (void)p; + while (!chThdShouldTerminateX()) + chSemWait(&sem1); +} +#endif + +static THD_FUNCTION(bmk_thread8, p) { + + do { + chThdYield(); + chThdYield(); + chThdYield(); + chThdYield(); + (*(uint32_t *)p) += 4; +#if defined(SIMULATOR) + _sim_check_for_interrupts(); +#endif + } while(!chThdShouldTerminateX()); }]]> @@ -4437,7 +4436,7 @@ static THD_FUNCTION(bmk_thread8, p) { - @@ -4449,10 +4448,10 @@ test_wait_threads();]]> - @@ -4499,7 +4498,7 @@ test_println(" ctxswc/S");]]> - @@ -4511,10 +4510,10 @@ test_wait_threads();]]> - @@ -4561,9 +4560,9 @@ test_println(" ctxswc/S");]]> - @@ -4575,7 +4574,7 @@ threads[4] = chThdCreateStatic(wa[4], WA_SIZE, chThdGetPriorityX()-5, bmk_thread - @@ -4587,10 +4586,10 @@ test_wait_threads();]]> - @@ -4615,7 +4614,7 @@ The Context Switch performance is calculated by measuring the number of iteratio - @@ -4628,7 +4627,7 @@ uint32_t n;]]> - @@ -4640,22 +4639,22 @@ uint32_t n;]]> - @@ -4667,9 +4666,9 @@ do { - @@ -4681,8 +4680,8 @@ test_wait_threads();]]> - @@ -4707,8 +4706,8 @@ The performance is calculated by measuring the number of iterations after a seco - @@ -4721,15 +4720,15 @@ systime_t start, end;]]> - @@ -4741,8 +4740,8 @@ do { - @@ -4766,8 +4765,8 @@ test_println(" threads/S");]]> - @@ -4780,19 +4779,19 @@ systime_t start, end;]]> - @@ -4804,8 +4803,8 @@ do { - @@ -4842,10 +4841,10 @@ The performance is calculated by measuring the number of iterations after a seco - @@ -4857,17 +4856,17 @@ threads[4] = chThdCreateStatic(wa[4], WA_SIZE, chThdGetPriorityX()+1, bmk_thread - @@ -4879,8 +4878,8 @@ do { - @@ -4892,10 +4891,10 @@ test_wait_threads();]]> - @@ -4932,12 +4931,12 @@ The performance is calculated by measuring the number of iterations after a seco - @@ -4949,8 +4948,8 @@ threads[4] = chThdCreateStatic(wa[4], WA_SIZE, chThdGetPriorityX()-1, bmk_thread - @@ -4962,8 +4961,8 @@ test_wait_threads();]]> - @@ -4988,7 +4987,7 @@ The performance is calculated by measuring the number of iterations after a seco - @@ -5001,22 +5000,22 @@ uint32_t n;]]> - @@ -5028,8 +5027,8 @@ do { - @@ -5066,24 +5065,24 @@ The performance is calculated by measuring the number of iterations after a seco - @@ -5095,8 +5094,8 @@ do { - @@ -5133,24 +5132,24 @@ The performance is calculated by measuring the number of iterations after a seco - @@ -5162,8 +5161,8 @@ do { - @@ -5199,8 +5198,8 @@ test_println(" lock+unlock/S");]]> - @@ -5212,8 +5211,8 @@ test_println(" bytes");]]> - @@ -5225,8 +5224,8 @@ test_println(" bytes");]]> - @@ -5238,10 +5237,10 @@ test_println(" bytes");]]> - @@ -5253,10 +5252,10 @@ test_println(" bytes"); - @@ -5268,10 +5267,10 @@ test_println(" bytes"); - @@ -5283,10 +5282,10 @@ test_println(" bytes"); - @@ -5298,10 +5297,10 @@ test_println(" bytes"); - @@ -5313,10 +5312,10 @@ test_println(" bytes"); - diff --git a/test/rt/source/test/test_sequence_010.c b/test/rt/source/test/test_sequence_010.c index 58ed0b73e..1a5833778 100644 --- a/test/rt/source/test/test_sequence_010.c +++ b/test/rt/source/test/test_sequence_010.c @@ -58,11 +58,10 @@ static MEMORYPOOL_DECL(mp1, sizeof (uint32_t), NULL); static GUARDEDMEMORYPOOL_DECL(gmp1, sizeof (uint32_t)); #endif -static void *null_provider(size_t size, unsigned align, size_t offset) { +static void *null_provider(size_t size, unsigned align) { (void)size; (void)align; - (void)offset; return NULL; } -- cgit v1.2.3