diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-18 13:58:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-18 13:58:02 +0000 |
commit | b7852c27b14a286dc03fbcc5303252ee33cc717c (patch) | |
tree | c2c1a6c73292605aabfdb4c5d1e31fc2c3910bc0 /testsuites/tmtests/include/timesys.h | |
parent | Comment added. (diff) | |
download | rtems-b7852c27b14a286dc03fbcc5303252ee33cc717c.tar.bz2 |
Patch rtems-rc-19991105-3.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which turns OPERATION_COUNT into a configure
time option.
Diffstat (limited to '')
-rw-r--r-- | testsuites/tmtests/include/timesys.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/testsuites/tmtests/include/timesys.h b/testsuites/tmtests/include/timesys.h index 936dd69805..6ba5ea7d17 100644 --- a/testsuites/tmtests/include/timesys.h +++ b/testsuites/tmtests/include/timesys.h @@ -21,15 +21,14 @@ * blocking tasks to determine the execution time of blocking * services. By default, the blocking time of 100 tasks will * be measured. Small targets often do not have enough memory - * to create 100 tasks. By setting the BSP_MAXIMUM_OPERATION_COUNT - * to a lower number (typically 10), all of the time tests can be - * run. + * to create 100 tasks. By overriding the default OPERATION_COUNT + * with a lower number (typically 10 or less), all of the time tests + * 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 -#else -#define OPERATION_COUNT BSP_MAXIMUM_OPERATION_COUNT #endif /* @@ -41,10 +40,8 @@ * not increase memory usage -- only execution time. */ -#ifndef BSP_ITERATION_COUNT +#ifndef IT_COUNT #define IT_COUNT 100 -#else -#define IT_COUNT BSP_ITERATION_COUNT #endif /* functions */ |