Class MemorySnapshot
- Namespace
- AiDotNet.Diagnostics
- Assembly
- AiDotNet.dll
A snapshot of memory usage at a point in time.
public class MemorySnapshot
- Inheritance
-
MemorySnapshot
- Inherited Members
Properties
FinalizationPendingCount
public long FinalizationPendingCount { get; init; }
Property Value
FragmentedBytes
public long FragmentedBytes { get; init; }
Property Value
Gen0Collections
public int Gen0Collections { get; init; }
Property Value
Gen1Collections
public int Gen1Collections { get; init; }
Property Value
Gen2Collections
public int Gen2Collections { get; init; }
Property Value
HeapSizeBytes
public long HeapSizeBytes { get; init; }
Property Value
Label
public required string Label { get; init; }
Property Value
PinnedObjectsCount
public long PinnedObjectsCount { get; init; }
Property Value
PrivateMemory
public long PrivateMemory { get; init; }
Property Value
PromotedBytes
public long PromotedBytes { get; init; }
Property Value
Timestamp
public DateTime Timestamp { get; init; }
Property Value
TotalMemory
public long TotalMemory { get; init; }
Property Value
VirtualMemory
public long VirtualMemory { get; init; }
Property Value
WorkingSet
public long WorkingSet { get; init; }
Property Value
Methods
CompareTo(MemorySnapshot)
Compares this snapshot with another.
public MemoryDiff CompareTo(MemorySnapshot baseline)
Parameters
baselineMemorySnapshot
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.