Table of Contents

Constructor ChatClientStatistics

Namespace
Qavren.Edge.Chat
Assembly
Qavren.Edge.Chat.Onnx.dll

ChatClientStatistics(int, int, long, double?, double?, double?, TimeSpan?, long?, long?, int, int, int, int, int, EdgeChatStopReason?)

What one client has done since it was resolved.

public ChatClientStatistics(int Turns, int RejectedTurns, long TokensGenerated, double? TokensPerSecondP50, double? TokensPerSecondP95, double? LastTokensPerSecond, TimeSpan? LastTimeToFirstToken, long? ProcessWorkingSetBytes, long? PeakWorkingSetBytes, int ThermalThrottleEvents, int ThermalAbortEvents, int UnloadEvents, int TerminationEvents, int HistoryReductions, EdgeChatStopReason? LastStopReason)

Parameters

Turns int

Turns that ran.

RejectedTurns int

Turns refused by the queue, the gate or a pre-flight.

TokensGenerated long

Tokens produced across every turn.

TokensPerSecondP50 double?

Median decode throughput, or null before the first turn.

TokensPerSecondP95 double?

95th-percentile decode throughput, or null before the first turn.

LastTokensPerSecond double?

The most recent turn's decode throughput.

LastTimeToFirstToken TimeSpan?

The most recent turn's prefill latency.

ProcessWorkingSetBytes long?

The process working set, or null when the platform will not say.

PeakWorkingSetBytes long?

The peak working set, or null when the platform will not say.

ThermalThrottleEvents int

Turns that were paced.

ThermalAbortEvents int

Turns that were aborted on thermal state.

UnloadEvents int

Times the model was dropped.

TerminationEvents int

Turns cut short by the OS, memory pressure or thermal state.

HistoryReductions int

Turns whose history was reduced.

LastStopReason EdgeChatStopReason?

Why the most recent turn ended.