Class MemoryCleanupSummary
- Namespace
- DotCompute.Backends.CUDA.Memory.Models
- Assembly
- DotCompute.Backends.CUDA.dll
Summary of a comprehensive memory cleanup run performed by PerformCleanupAsync(CancellationToken).
public sealed class MemoryCleanupSummary
- Inheritance
-
MemoryCleanupSummary
- Inherited Members
Properties
Duration
Gets the total duration of the cleanup.
public TimeSpan Duration { get; }
Property Value
EndTime
Gets the UTC timestamp when the cleanup finished.
public DateTimeOffset EndTime { get; init; }
Property Value
ErrorMessage
Gets the error message if Success is false.
public string? ErrorMessage { get; init; }
Property Value
MemoryFreed
Gets the number of bytes freed by the cleanup.
public long MemoryFreed { get; init; }
Property Value
OptimizationsPerformed
Gets the list of optimization phases applied during cleanup.
public IReadOnlyList<string> OptimizationsPerformed { get; init; }
Property Value
PoolItemsFreed
Gets the number of pooled items freed.
public int PoolItemsFreed { get; init; }
Property Value
StartTime
Gets the UTC timestamp when the cleanup started.
public DateTimeOffset StartTime { get; init; }
Property Value
Success
Gets a value indicating whether the cleanup completed successfully.
public bool Success { get; init; }