MemorySnapshot

Ecng.Logging

Represents a point-in-time snapshot of process memory.

Implementa: IEquatable<MemorySnapshot>

Construtores

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.

Métodos

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.

Retorna: A string representing the tuple's values.