GetSessionMetaInfo

This function is meant for debugging purposes and return statistics during processing.
The return value represents the number of active models within the session (or zero if the model was not recognized).

Syntax

//   Visual Studio for Windows
public:
__int64 __declspec(dllexport) __stdcall GetSessionMetaInfo(
            __int64             * allocatedBlocks,
            __int64             * allocatedBytes,
            __int64             * nonUsedBlocks,
            __int64             * nonUsedBytes
        );

//   Linux, OS-X and non-Visual Studio Windows solutions
public:
int64_t GetSessionMetaInfo(
            int64_t             * allocatedBlocks,
            int64_t             * allocatedBytes,
            int64_t             * nonUsedBlocks,
            int64_t             * nonUsedBytes
        );    

Property allocatedBlocks

Size: 64 bit / 8 byte (reference)
The number of allocated memory blocks available in the current instance of the Library independent of the number of open models. Only memory blocks coordinated by the internal memory manager are counted.

Property allocatedBytes

Size: 64 bit / 8 byte (reference)
The total number of bytes within the allocated memory blocks available in the current instance of the Library independent of the number of open models.

Property nonUsedBlocks

Size: 64 bit / 8 byte (reference)
The number of allocated but not-used memory blocks available in the current instance of the Library independent of the number of open models. Only not-used blocks coordinated by the internal memory manager are counted.

Property nonUsedBytes

Size: 64 bit / 8 byte (reference)
The total number of non-used bytes within the allocated memory blocks available in the current instance of the Library independent of the number of open models.