mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-06 07:33:17 +00:00
Patch rtems-rc-19991105-3.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which turns OPERATION_COUNT into a configure time option.
This commit is contained in:
@@ -37,6 +37,9 @@ AC_SUBST(CC_CFLAGS_DEBUG_V)
|
|||||||
AC_SUBST(CC_CFLAGS_PROFILE_V)
|
AC_SUBST(CC_CFLAGS_PROFILE_V)
|
||||||
AC_SUBST(CC_LDFLAGS_PROFILE_V)
|
AC_SUBST(CC_LDFLAGS_PROFILE_V)
|
||||||
|
|
||||||
|
OPERATION_COUNT=${OPERATION_COUNT-100}
|
||||||
|
AC_SUBST(OPERATION_COUNT)
|
||||||
|
|
||||||
# Try to explicitly list a Makefile here
|
# Try to explicitly list a Makefile here
|
||||||
AC_OUTPUT(
|
AC_OUTPUT(
|
||||||
Makefile
|
Makefile
|
||||||
|
|||||||
@@ -21,15 +21,14 @@
|
|||||||
* blocking tasks to determine the execution time of blocking
|
* blocking tasks to determine the execution time of blocking
|
||||||
* services. By default, the blocking time of 100 tasks will
|
* services. By default, the blocking time of 100 tasks will
|
||||||
* be measured. Small targets often do not have enough memory
|
* be measured. Small targets often do not have enough memory
|
||||||
* to create 100 tasks. By setting the BSP_MAXIMUM_OPERATION_COUNT
|
* to create 100 tasks. By overriding the default OPERATION_COUNT
|
||||||
* to a lower number (typically 10), all of the time tests can be
|
* with a lower number (typically 10 or less), all of the time tests
|
||||||
* run.
|
* can usually be run. This is stil not very fine-grained but
|
||||||
|
* is enough to significantly reduce memory consumption.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BSP_MAXIMUM_OPERATION_COUNT
|
#ifndef OPERATION_COUNT
|
||||||
#define OPERATION_COUNT 100
|
#define OPERATION_COUNT 100
|
||||||
#else
|
|
||||||
#define OPERATION_COUNT BSP_MAXIMUM_OPERATION_COUNT
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -41,10 +40,8 @@
|
|||||||
* not increase memory usage -- only execution time.
|
* not increase memory usage -- only execution time.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BSP_ITERATION_COUNT
|
#ifndef IT_COUNT
|
||||||
#define IT_COUNT 100
|
#define IT_COUNT 100
|
||||||
#else
|
|
||||||
#define IT_COUNT BSP_ITERATION_COUNT
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* functions */
|
/* functions */
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
|
|
||||||
# since we essentially are building an interrupt handler, must use CFLAGS_OS_V
|
# since we essentially are building an interrupt handler, must use CFLAGS_OS_V
|
||||||
|
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ PACKHEX = @PACKHEX@
|
|||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
|
|
||||||
|
OPERATION_COUNT = @OPERATION_COUNT@
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
CPPFLAGS += -I$(srcdir)/../include
|
CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
|
||||||
CFLAGS +=
|
CFLAGS +=
|
||||||
|
|
||||||
LD_PATHS +=
|
LD_PATHS +=
|
||||||
|
|||||||
@@ -21,15 +21,14 @@
|
|||||||
* blocking tasks to determine the execution time of blocking
|
* blocking tasks to determine the execution time of blocking
|
||||||
* services. By default, the blocking time of 100 tasks will
|
* services. By default, the blocking time of 100 tasks will
|
||||||
* be measured. Small targets often do not have enough memory
|
* be measured. Small targets often do not have enough memory
|
||||||
* to create 100 tasks. By setting the BSP_MAXIMUM_OPERATION_COUNT
|
* to create 100 tasks. By overriding the default OPERATION_COUNT
|
||||||
* to a lower number (typically 10), all of the time tests can be
|
* with a lower number (typically 10 or less), all of the time tests
|
||||||
* run.
|
* can usually be run. This is stil not very fine-grained but
|
||||||
|
* is enough to significantly reduce memory consumption.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BSP_MAXIMUM_OPERATION_COUNT
|
#ifndef OPERATION_COUNT
|
||||||
#define OPERATION_COUNT 100
|
#define OPERATION_COUNT 100
|
||||||
#else
|
|
||||||
#define OPERATION_COUNT BSP_MAXIMUM_OPERATION_COUNT
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -41,10 +40,8 @@
|
|||||||
* not increase memory usage -- only execution time.
|
* not increase memory usage -- only execution time.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BSP_ITERATION_COUNT
|
#ifndef IT_COUNT
|
||||||
#define IT_COUNT 100
|
#define IT_COUNT 100
|
||||||
#else
|
|
||||||
#define IT_COUNT BSP_ITERATION_COUNT
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* functions */
|
/* functions */
|
||||||
|
|||||||
Reference in New Issue
Block a user