Changeset b7852c2 in rtems


Ignore:
Timestamp:
Nov 18, 1999, 1:58:02 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
dd9c6e0d
Parents:
40fe60a3
Message:

Patch rtems-rc-19991105-3.diff.gz from Ralf Corsepius
<corsepiu@…> which turns OPERATION_COUNT into a configure
time option.

Files:
34 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/tmtests/configure.in

    r40fe60a3 rb7852c2  
    3838AC_SUBST(CC_LDFLAGS_PROFILE_V)
    3939
     40OPERATION_COUNT=${OPERATION_COUNT-100}
     41AC_SUBST(OPERATION_COUNT)
     42
    4043# Try to explicitly list a Makefile here
    4144AC_OUTPUT(
  • c/src/tests/tmtests/include/timesys.h

    r40fe60a3 rb7852c2  
    2222 *  services.  By default, the blocking time of 100 tasks will
    2323 *  be measured.  Small targets often do not have enough memory
    24  *  to create 100 tasks.  By setting the BSP_MAXIMUM_OPERATION_COUNT
    25  *  to a lower number (typically 10), all of the time tests can be
    26  *  run.
     24 *  to create 100 tasks.  By overriding the default OPERATION_COUNT
     25 *  with a lower number (typically 10 or less), all of the time tests
     26 *  can usually be run.  This is stil not very fine-grained but
     27 *  is enough to significantly reduce memory consumption.
    2728 */
    2829
    29 #ifndef BSP_MAXIMUM_OPERATION_COUNT
     30#ifndef OPERATION_COUNT
    3031#define OPERATION_COUNT 100
    31 #else
    32 #define OPERATION_COUNT BSP_MAXIMUM_OPERATION_COUNT
    3332#endif
    3433
     
    4241 */
    4342
    44 #ifndef BSP_ITERATION_COUNT
     43#ifndef IT_COUNT
    4544#define IT_COUNT        100
    46 #else
    47 #define IT_COUNT BSP_ITERATION_COUNT
    4845#endif
    4946
  • c/src/tests/tmtests/tm01/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm02/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm03/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm04/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm05/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm06/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm07/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm08/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm09/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm10/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm11/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm12/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm13/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm14/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm15/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm16/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm17/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm18/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm19/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm20/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm21/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm22/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm23/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm24/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm25/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm26/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm27/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950
    5051# since we essentially are building an interrupt handler, must use CFLAGS_OS_V
  • c/src/tests/tmtests/tm28/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tm29/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tmck/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • c/src/tests/tmtests/tmoverhd/Makefile.in

    r40fe60a3 rb7852c2  
    4545#
    4646
     47OPERATION_COUNT = @OPERATION_COUNT@
    4748DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
     49CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT)
    4950CFLAGS +=
    5051
  • testsuites/tmtests/include/timesys.h

    r40fe60a3 rb7852c2  
    2222 *  services.  By default, the blocking time of 100 tasks will
    2323 *  be measured.  Small targets often do not have enough memory
    24  *  to create 100 tasks.  By setting the BSP_MAXIMUM_OPERATION_COUNT
    25  *  to a lower number (typically 10), all of the time tests can be
    26  *  run.
     24 *  to create 100 tasks.  By overriding the default OPERATION_COUNT
     25 *  with a lower number (typically 10 or less), all of the time tests
     26 *  can usually be run.  This is stil not very fine-grained but
     27 *  is enough to significantly reduce memory consumption.
    2728 */
    2829
    29 #ifndef BSP_MAXIMUM_OPERATION_COUNT
     30#ifndef OPERATION_COUNT
    3031#define OPERATION_COUNT 100
    31 #else
    32 #define OPERATION_COUNT BSP_MAXIMUM_OPERATION_COUNT
    3332#endif
    3433
     
    4241 */
    4342
    44 #ifndef BSP_ITERATION_COUNT
     43#ifndef IT_COUNT
    4544#define IT_COUNT        100
    46 #else
    47 #define IT_COUNT BSP_ITERATION_COUNT
    4845#endif
    4946
Note: See TracChangeset for help on using the changeset viewer.