Back to Aurora Vision Library website
You are here: Start » Function Reference » System » Configuration » InspectImageMemoryPools
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationLite |
Returns information about allocated image memory buffers. This information can be used for preallocation.
Syntax
C++
C#
void avl::InspectImageMemoryPools ( bool& outIsEnabled, atl::Array<int>& outPoolSizes, atl::Array<int>& outBlockLengths, int& outTotalUsage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
outIsEnabled | bool& | Specifies whether memory pools are used or not | ||
outPoolSizes | Array<int>& | Count of blocks in consecutive pools | ||
outBlockLengths | Array<int>& | Length of blocks in consecutive pools | ||
outTotalUsage | int& | Total image memory allocated [B] |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.