High water
marks
OO RTX
The OO RTX contains a number of buffers like event queue,
which can be
dimensioned via properties. Using the Debug buildset, you can inspect
the variable Highwater in
RiCHighwater.h with a debugger to see how much space within these
buffers are actually
used. In the Debug buildset, the compiler constant WST_HIGHWATERMARKS
is defined via the property CPPCompileDebug.
You can downsize the OO RTX dimensions after inspecting
this constant.
There are some properties which define various sizes:
The variable highwater is
allocated in RiCHighwater.[ch] and is actually a
structure with some members:
- smallBuffersMax which is the maximum number of used
elements in RiCSmallMemoryBlocks[]
- mediumBuffersMax which is the maximum number of used
elements in RiCMediumMemoryBlocks[]
- largeBuffersMax which is the maximum number of used
elements in RiCLargeMemoryBlocks[]
- eventsMax which is the maximum number of events in the
event queue RiCEvtQueue[] at one time.
You can set the constant RIC_MAX_EVENTS
via the property WSTMaxEvents
to tune the size of RiCEvtQueue[].
- timeoutsMax which is the maximum number of timeout events
in the timeout queue RiCTmManager_itsTimeout[] at one time.
You can set the constant RIC_MAX_TIMEOUTS
via the property WSTMaxTimeouts
to tune the size of RiCTmManager_itsTimeout[].
Please refer to the section Memory Management
for more information on how to influence the resources used.
Copyright (c) Willert
Software Tools GmbH. All rights reserved.