Table of Contents

Struct MemorySequencePool<T>.ReportInfo

Namespace
LfrlAnvil.Memory
Assembly
LfrlAnvil.Core.dll

A lightweight MemorySequencePool<T> state report container.

public readonly struct MemorySequencePool<T>.ReportInfo
Inherited Members
Extension Methods

Properties

ActiveElements

Number of active elements.

public int ActiveElements { get; }

Property Value

int

ActiveNodes

Number of active underlying pool nodes.

public int ActiveNodes { get; }

Property Value

int

ActiveSegments

Number of active pool segments.

public int ActiveSegments { get; }

Property Value

int

AllocatedSegments

Total number of allocated pool segments.

public int AllocatedSegments { get; }

Property Value

int

CachedNodes

Number of cached underlying pool nodes.

public int CachedNodes { get; }

Property Value

int

FragmentedElements

Number of fragmented elements.

public int FragmentedElements { get; }

Property Value

int

FragmentedNodes

Number of fragmented underlying pool nodes.

public int FragmentedNodes { get; }

Property Value

int

Methods

GetFragmentedNodeSizes()

Creates a new IEnumerable<T> instance that contains sizes of all fragmented underlying pool nodes.

[Pure]
public IEnumerable<int> GetFragmentedNodeSizes()

Returns

IEnumerable<int>

New IEnumerable<T> instance.

GetRentedNodes()

Creates a new IEnumerable<T> instance that contains all currently rented memory sequences.

[Pure]
public IEnumerable<RentedMemorySequence<T>> GetRentedNodes()

Returns

IEnumerable<RentedMemorySequence<T>>

New IEnumerable<T> instance.