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

public const string EngineDLL = @"engine.dll";[DllImport(EngineDLL, EntryPoint = "GetSessionMetaInfo")]
public static extern Int64 GetSessionMetaInfo(out Int64 allocatedBlocks, out Int64 allocatedBytes, out Int64 nonUsedBlocks, out Int64 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.