The Data Recorder buffer size can be dynamically allocated. The
MPIControlConfig{...}
structure has a new element, called recordCount. This element allows
the application to change the size of the recorder object's data
buffer using the mpiControlConfigGet/Set(...)
methods. The Record buffer size (the default is 3064 records) is
defined within the MEIXmpDefaultEnabled_Records structure (xmp.h).
Each record is the size of one memory word. Using a larger data
buffer size can improve the performance of MotionScope running on
a slow host or running in Client/Server mode over a congested network.
A new method, meiControlExtMemAvail(...),
has been added which will return the size of external memory available
for allocation. This value can be added to the current recordCount
to expand the record buffer to the maximum possible size.
For more information, see the Special
Note on Dynamic Allocation of External Memory Buffers.
Return to Recorder
Object's page

|