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

//
//   Strong typing definition
//
int64_t         GetSessionMetaInfo(
                        int64_t                 * allocatedBlocks,
                        int64_t                 * allocatedBytes,
                        int64_t                 * nonUsedBlocks,
                        int64_t                 * nonUsedBytes
                    );


//
//   Weak typing definition
//
int64_t __declspec(dllexport) __stdcall 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.