git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6115 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
44f6cc6308
commit
16712a7883
|
@ -290,7 +290,7 @@
|
||||||
* @note The default is @p TRUE.
|
* @note The default is @p TRUE.
|
||||||
*/
|
*/
|
||||||
#if !defined(CH_CFG_USE_QUEUES) || defined(__DOXYGEN__)
|
#if !defined(CH_CFG_USE_QUEUES) || defined(__DOXYGEN__)
|
||||||
#define CH_CFG_USE_QUEUES FALSE
|
#define CH_CFG_USE_QUEUES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -442,7 +442,7 @@ ROMCONST struct testcase testbmk8 = {
|
||||||
bmk8_execute
|
bmk8_execute
|
||||||
};
|
};
|
||||||
|
|
||||||
#if 0
|
#if CH_CFG_USE_QUEUES || defined(__DOXYGEN__)
|
||||||
/**
|
/**
|
||||||
* @page test_benchmarks_009 I/O Queues throughput
|
* @page test_benchmarks_009 I/O Queues throughput
|
||||||
*
|
*
|
||||||
|
@ -456,9 +456,9 @@ ROMCONST struct testcase testbmk8 = {
|
||||||
static void bmk9_execute(void) {
|
static void bmk9_execute(void) {
|
||||||
uint32_t n;
|
uint32_t n;
|
||||||
static uint8_t ib[16];
|
static uint8_t ib[16];
|
||||||
static InputQueue iq;
|
static input_queue_t iq;
|
||||||
|
|
||||||
chIQInit(&iq, ib, sizeof(ib), NULL, NULL);
|
chIQObjectInit(&iq, ib, sizeof(ib), NULL, NULL);
|
||||||
n = 0;
|
n = 0;
|
||||||
test_wait_tick();
|
test_wait_tick();
|
||||||
test_start_timer(1000);
|
test_start_timer(1000);
|
||||||
|
@ -489,7 +489,7 @@ ROMCONST struct testcase testbmk9 = {
|
||||||
NULL,
|
NULL,
|
||||||
bmk9_execute
|
bmk9_execute
|
||||||
};
|
};
|
||||||
#endif
|
#endif /* CH_CFG_USE_QUEUES */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @page test_benchmarks_010 Virtual Timers set/reset performance
|
* @page test_benchmarks_010 Virtual Timers set/reset performance
|
||||||
|
@ -701,7 +701,9 @@ ROMCONST struct testcase * ROMCONST patternbmk[] = {
|
||||||
&testbmk6,
|
&testbmk6,
|
||||||
&testbmk7,
|
&testbmk7,
|
||||||
&testbmk8,
|
&testbmk8,
|
||||||
// &testbmk9,
|
#if CH_CFG_USE_QUEUES || defined(__DOXYGEN__)
|
||||||
|
&testbmk9,
|
||||||
|
#endif
|
||||||
&testbmk10,
|
&testbmk10,
|
||||||
&testbmk11,
|
&testbmk11,
|
||||||
#if CH_CFG_USE_MUTEXES || defined(__DOXYGEN__)
|
#if CH_CFG_USE_MUTEXES || defined(__DOXYGEN__)
|
||||||
|
|
Loading…
Reference in New Issue