Made demos have CH_DBG_THREADS_PROFILING set to TRUE by default.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_1.2.x@960 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
b3a622c720
commit
22d595c596
|
@ -391,7 +391,7 @@
|
|||
* counts the system ticks occurred while executing the thread.
|
||||
*/
|
||||
#if !defined(CH_DBG_THREADS_PROFILING) || defined(__DOXYGEN__)
|
||||
#define CH_DBG_THREADS_PROFILING FALSE
|
||||
#define CH_DBG_THREADS_PROFILING TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -391,7 +391,7 @@
|
|||
* counts the system ticks occurred while executing the thread.
|
||||
*/
|
||||
#if !defined(CH_DBG_THREADS_PROFILING) || defined(__DOXYGEN__)
|
||||
#define CH_DBG_THREADS_PROFILING FALSE
|
||||
#define CH_DBG_THREADS_PROFILING TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -391,7 +391,7 @@
|
|||
* counts the system ticks occurred while executing the thread.
|
||||
*/
|
||||
#if !defined(CH_DBG_THREADS_PROFILING) || defined(__DOXYGEN__)
|
||||
#define CH_DBG_THREADS_PROFILING FALSE
|
||||
#define CH_DBG_THREADS_PROFILING TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -391,7 +391,7 @@
|
|||
* counts the system ticks occurred while executing the thread.
|
||||
*/
|
||||
#if !defined(CH_DBG_THREADS_PROFILING) || defined(__DOXYGEN__)
|
||||
#define CH_DBG_THREADS_PROFILING FALSE
|
||||
#define CH_DBG_THREADS_PROFILING TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -391,7 +391,7 @@
|
|||
* counts the system ticks occurred while executing the thread.
|
||||
*/
|
||||
#if !defined(CH_DBG_THREADS_PROFILING) || defined(__DOXYGEN__)
|
||||
#define CH_DBG_THREADS_PROFILING FALSE
|
||||
#define CH_DBG_THREADS_PROFILING TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -391,7 +391,7 @@
|
|||
* counts the system ticks occurred while executing the thread.
|
||||
*/
|
||||
#if !defined(CH_DBG_THREADS_PROFILING) || defined(__DOXYGEN__)
|
||||
#define CH_DBG_THREADS_PROFILING FALSE
|
||||
#define CH_DBG_THREADS_PROFILING TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -391,7 +391,7 @@
|
|||
* counts the system ticks occurred while executing the thread.
|
||||
*/
|
||||
#if !defined(CH_DBG_THREADS_PROFILING) || defined(__DOXYGEN__)
|
||||
#define CH_DBG_THREADS_PROFILING FALSE
|
||||
#define CH_DBG_THREADS_PROFILING TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -391,7 +391,7 @@
|
|||
* counts the system ticks occurred while executing the thread.
|
||||
*/
|
||||
#if !defined(CH_DBG_THREADS_PROFILING) || defined(__DOXYGEN__)
|
||||
#define CH_DBG_THREADS_PROFILING FALSE
|
||||
#define CH_DBG_THREADS_PROFILING TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -391,7 +391,7 @@
|
|||
* counts the system ticks occurred while executing the thread.
|
||||
*/
|
||||
#if !defined(CH_DBG_THREADS_PROFILING) || defined(__DOXYGEN__)
|
||||
#define CH_DBG_THREADS_PROFILING FALSE
|
||||
#define CH_DBG_THREADS_PROFILING TRUE
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -65,6 +65,9 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
|
|||
- FIX: Fixed @file tag in sam7x_serial.c (bug 2788573).
|
||||
- FIX: Fixed sequence assertion in test.c (bug 2789377).
|
||||
- FIX: Fixed test_cpu_pulse() incorrect behavior (bug 2789383).
|
||||
- CHANGE: Made the option CH_DBG_THREADS_PROFILING default to TRUE because it
|
||||
is now required in order to execute the whole test suite. Note that this
|
||||
option is very light so there is no real overhead in the system.
|
||||
|
||||
*** 1.2.1 ***
|
||||
- FIX: Fixed regression in MinGW demo (bug 2745153).
|
||||
|
|
|
@ -132,8 +132,8 @@ static void mtx2_execute(void) {
|
|||
threads[1] = chThdCreateStatic(wa[1], WA_SIZE, chThdGetPriority()-2, thread2M, 0);
|
||||
threads[2] = chThdCreateStatic(wa[2], WA_SIZE, chThdGetPriority()-3, thread2L, 0);
|
||||
test_wait_threads();
|
||||
test_assert_sequence(1, "ABC");
|
||||
test_assert_time_window(2, time + MS2ST(100), time + MS2ST(100) + ALLOWED_DELAY);
|
||||
test_assert_sequence("ABC");
|
||||
test_assert_time_window(time + MS2ST(100), time + MS2ST(100) + ALLOWED_DELAY);
|
||||
}
|
||||
|
||||
const struct testcase testmtx2 = {
|
||||
|
@ -229,8 +229,8 @@ static void mtx3_execute(void) {
|
|||
threads[3] = chThdCreateStatic(wa[3], WA_SIZE, chThdGetPriority()-2, thread3H, 0);
|
||||
threads[4] = chThdCreateStatic(wa[4], WA_SIZE, chThdGetPriority()-1, thread3HH, 0);
|
||||
test_wait_threads();
|
||||
test_assert_sequence(1, "ABCDE");
|
||||
test_assert_time_window(2, time + MS2ST(110), time + MS2ST(110) + ALLOWED_DELAY);
|
||||
test_assert_sequence("ABCDE");
|
||||
test_assert_time_window(time + MS2ST(110), time + MS2ST(110) + ALLOWED_DELAY);
|
||||
}
|
||||
|
||||
const struct testcase testmtx3 = {
|
||||
|
@ -376,8 +376,10 @@ const struct testcase testmtx6 = {
|
|||
const struct testcase * const patternmtx[] = {
|
||||
#if CH_USE_MUTEXES
|
||||
&testmtx1,
|
||||
#if CH_DBG_THREADS_PROFILING
|
||||
&testmtx2,
|
||||
&testmtx3,
|
||||
#endif
|
||||
#if CH_USE_CONDVARS
|
||||
&testmtx4,
|
||||
&testmtx5,
|
||||
|
|
Loading…
Reference in New Issue