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:
Property
Default value
WSTSmallBufferSize
16
WSTMediumBufferSize
32
WSTLargeBufferSize
96
WSTInitialSmallBuffers
12
WSTInitialMediumBuffers
6
WSTInitialLargeBuffers
1

The variable highwater is allocated in RiCHighwater.[ch] and is actually a structure with some members:
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.