ILNumerics Ultimate VS

ManagedHostPoolT Class

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
A memory pool allocating memory on the managed heap.

[ILNumerics Core Module]

Inheritance Hierarchy

SystemObject
  ILNumerics.Core.MemoryLayerMemoryPoolManagedHostHandleT
    ILNumerics.Core.MemoryLayerManagedHostPoolT

Namespace:  ILNumerics.Core.MemoryLayer
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public class ManagedHostPool<T> : MemoryPool<ManagedHostHandle<T>>

Type Parameters

T
Element type.

The ManagedHostPoolT type exposes the following members.

Constructors

  NameDescription
Public methodManagedHostPoolT
Initializes a new instance of the ManagedHostPoolT class
Top
Properties

  NameDescription
Public propertyCount
The number of objects currently stored in this pool.

[ILNumerics Core Module]

(Inherited from MemoryPoolHandleT.)
Public propertyDevice
The device this pool is associated with.

[ILNumerics Core Module]

(Inherited from MemoryPoolHandleT.)
Public propertyMaxSize
A hard limit of a number of bytes the memory pool is able to hold.

[ILNumerics Core Module]

(Inherited from MemoryPoolHandleT.)
Public propertyMemoryType
The memory type managed by this pool [readonly].

[ILNumerics Core Module]

(Inherited from MemoryPoolHandleT.)
Public propertyOOMCount
Number of OOMs catched (and potentially forwarded) during allocation requests.

[ILNumerics Core Module]

(Inherited from MemoryPoolHandleT.)
Public propertyStatic memberPool
Public propertyShrinkCount
Number of shrinking operations performed by the pool so far.

[ILNumerics Core Module]

(Inherited from MemoryPoolHandleT.)
Public propertySize
The sum in bytes of all objects currently hold in the pool.

[ILNumerics Core Module]

(Inherited from MemoryPoolHandleT.)
Public propertyThreadID
The managed thread ID of the thread this pool was created by/for. All (non-readonly) requests to the memory pools must be made from this thread only!

[ILNumerics Core Module]

(Inherited from MemoryPoolHandleT.)
Top
Methods

  NameDescription
Public methodFree
Returns a chunk of memory back to the pool.

[ILNumerics Core Module]

(Inherited from MemoryPoolHandleT.)
Public methodNew(UInt64, Boolean)
Request a memory chunk of minimal length length.

[ILNumerics Core Module]

(Inherited from MemoryPoolHandleT.)
Public methodNew(UIntPtr, Boolean)
Request a memory chunk of minimal length length.

[ILNumerics Core Module]

(Inherited from MemoryPoolHandleT.)
Public methodShrink
Shrinks the pool down to shrinkedSize by releasing old objects.

[ILNumerics Core Module]

(Inherited from MemoryPoolHandleT.)
Public methodToString
Produces statistical information about this memory pool instance for informal messages.

[ILNumerics Core Module]

(Inherited from MemoryPoolHandleT.)
Top
Fields

  NameDescription
Protected fieldm_device
The device this memory pool belongs to.
(Inherited from MemoryPoolHandleT.)
Protected fieldm_memoryType
Internal use
(Inherited from MemoryPoolHandleT.)
Protected fieldm_threadID
Internal use
(Inherited from MemoryPoolHandleT.)
Top
Remarks

[ILNumerics Core Module]

See Also

Reference