Class MetalCommandQueuePool.QueueEntry
- Namespace
- DotCompute.Backends.Metal.Utilities
- Assembly
- DotCompute.Backends.Metal.dll
Entry representing a command queue in the pool with metadata. Nested type is intentional for tight coupling with pool lifecycle.
public sealed class MetalCommandQueuePool.QueueEntry
- Inheritance
-
MetalCommandQueuePool.QueueEntry
- Inherited Members
Properties
CreatedTime
Gets the time this queue was created.
public required DateTime CreatedTime { get; init; }
Property Value
IsInUse
Gets or sets whether this queue is currently in use.
public bool IsInUse { get; set; }
Property Value
LastAcquiredTime
Gets or sets the last time this queue was acquired.
public DateTime LastAcquiredTime { get; set; }
Property Value
LastReleasedTime
Gets or sets the last time this queue was released.
public DateTime LastReleasedTime { get; set; }
Property Value
Queue
Gets the Metal command queue handle.
public required nint Queue { get; init; }
Property Value
QueueId
Gets the unique queue ID for tracking.
public required int QueueId { get; init; }
Property Value
UsageCount
Gets the total number of times this queue has been used. Thread-safe via Interlocked operations.
public int UsageCount { get; }