Constructor ChatClientStatistics
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
TurnsintTurns that ran.
RejectedTurnsintTurns refused by the queue, the gate or a pre-flight.
TokensGeneratedlongTokens produced across every turn.
TokensPerSecondP50double?Median decode throughput, or null before the first turn.
TokensPerSecondP95double?95th-percentile decode throughput, or null before the first turn.
LastTokensPerSeconddouble?The most recent turn's decode throughput.
LastTimeToFirstTokenTimeSpan?The most recent turn's prefill latency.
ProcessWorkingSetByteslong?The process working set, or null when the platform will not say.
PeakWorkingSetByteslong?The peak working set, or null when the platform will not say.
ThermalThrottleEventsintTurns that were paced.
ThermalAbortEventsintTurns that were aborted on thermal state.
UnloadEventsintTimes the model was dropped.
TerminationEventsintTurns cut short by the OS, memory pressure or thermal state.
HistoryReductionsintTurns whose history was reduced.
LastStopReasonEdgeChatStopReason?Why the most recent turn ended.