High water
marks
All static buffers can be configured via properties which you can set
in your model. We have implemented high water marks for these so you
can inspect at runtime how much resources of these buffers are actually
used.
In OO RTX based products, there is a single data field which you can
inspect for the high water marks. This field is a structure which shows:
- the maximum number of buffers used of the small buffer pool
- the maximum number of buffers used of the medium buffer pool
- the maximum number of buffers used of the large buffer pool
- the maximum number of events used in the event pointer pool
- the maximum number of timeoutss used of the timeout buffer pool
- a flag which indicates if the heap was used because a buffer pool was exausted, in the case you enabled a mixed mode of static and dynamic memory management.
The high water marks allow you to finetune the number of elements provided in the static pools. Please refer to the section Usage | high water marks to read how to do so.
Copyright (c) Willert
Software Tools GmbH. All rights reserved.