Table of Contents

Class MemoryDiff

Namespace
AiDotNet.Diagnostics
Assembly
AiDotNet.dll

Difference between two memory snapshots.

public class MemoryDiff
Inheritance
MemoryDiff
Inherited Members

Properties

AllocationRatePerSecond

Memory allocation rate in bytes per second.

public double AllocationRatePerSecond { get; }

Property Value

double

Duration

public TimeSpan Duration { get; init; }

Property Value

TimeSpan

From

public required MemorySnapshot From { get; init; }

Property Value

MemorySnapshot

Gen0CollectionsDelta

public int Gen0CollectionsDelta { get; init; }

Property Value

int

Gen1CollectionsDelta

public int Gen1CollectionsDelta { get; init; }

Property Value

int

Gen2CollectionsDelta

public int Gen2CollectionsDelta { get; init; }

Property Value

int

HeapSizeDelta

public long HeapSizeDelta { get; init; }

Property Value

long

To

public required MemorySnapshot To { get; init; }

Property Value

MemorySnapshot

TotalMemoryDelta

public long TotalMemoryDelta { get; init; }

Property Value

long

WorkingSetDelta

public long WorkingSetDelta { get; init; }

Property Value

long

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.