SyniPhaseStats class

Per-phase token counts and wall time for one generation.

Constructors

SyniPhaseStats({required int promptTokens, required int reusedTokens, required int prefillTokens, required int prefillMs, required int decodedTokens, required int decodeMs})
const
SyniPhaseStats.fromMap(Map<String, dynamic> m)
factory

Properties

decodedTokens → int
Tokens written.
final
decodeMs → int
final
decodeTokensPerSecond → double?
Writing speed, or null when nothing was written.
no setter
hashCode → int
The hash code for this object.
no setterinherited
prefillMs → int
final
prefillTokens → int
Prompt tokens actually read.
final
prefillTokensPerSecond → double?
Prompt-reading speed, or null when nothing was read.
no setter
promptTokens → int
Prompt length in tokens.
final
reusedTokens → int
Leading prompt tokens reused from the KV cache, so not read again.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited