MemorySnapshot
Ecng.Logging
Represents a point-in-time snapshot of process memory.
Реализует: IEquatable<MemorySnapshot>
Конструкторы
MemorySnapshot
public MemorySnapshot(long ManagedHeap, long WorkingSet, int Gen0, int Gen1, int Gen2)
memorySnapshot = MemorySnapshot(ManagedHeap, WorkingSet, Gen0, Gen1, Gen2)
Represents a point-in-time snapshot of process memory.
Методы
Capture
public static MemorySnapshot Capture()
result = MemorySnapshot.Capture()
Takes a snapshot of current process memory state.
ToString
public override string ToString()
result = memorySnapshot.ToString()
Returns a string representation of the tuple, with values separated by commas.
Возвращает: A string representing the tuple's values.