Class ProfilerStats
- Namespace
- AiDotNet.Diagnostics
- Assembly
- AiDotNet.dll
Statistics for a profiled operation.
public class ProfilerStats
- Inheritance
-
ProfilerStats
- Inherited Members
Properties
AllocationCount
Number of allocation events.
public int AllocationCount { get; init; }
Property Value
Count
Number of times the operation was called.
public int Count { get; init; }
Property Value
MaxMs
Maximum time in milliseconds.
public double MaxMs { get; init; }
Property Value
MeanMs
Mean time in milliseconds.
public double MeanMs { get; init; }
Property Value
MinMs
Minimum time in milliseconds.
public double MinMs { get; init; }
Property Value
Name
Operation name.
public required string Name { get; init; }
Property Value
OpsPerSecond
Gets the operations per second based on count and total time.
public double OpsPerSecond { get; }
Property Value
P50Ms
50th percentile (median) in milliseconds.
public double P50Ms { get; init; }
Property Value
P95Ms
95th percentile in milliseconds.
public double P95Ms { get; init; }
Property Value
P99Ms
99th percentile in milliseconds.
public double P99Ms { get; init; }
Property Value
Parents
Parent operations (for hierarchy tracking).
public IReadOnlyList<string> Parents { get; init; }
Property Value
StdDevMs
Standard deviation in milliseconds.
public double StdDevMs { get; init; }
Property Value
TotalAllocations
Total bytes allocated.
public long TotalAllocations { get; init; }
Property Value
TotalMs
Total time in milliseconds.
public double TotalMs { get; init; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.