Class SimulationRun.Types.JobMetrics.Types.LLM
public sealed class SimulationRun.Types.JobMetrics.Types.LLM : IMessage<SimulationRun.Types.JobMetrics.Types.LLM>, IEquatable<SimulationRun.Types.JobMetrics.Types.LLM>, IDeepCloneable<SimulationRun.Types.JobMetrics.Types.LLM>, IBufferMessage, IMessage
- Inheritance
-
SimulationRun.Types.JobMetrics.Types.LLM
- Implements
-
IBufferMessageIMessage
- Inherited Members
Constructors
LLM()
public LLM()
LLM(LLM)
public LLM(SimulationRun.Types.JobMetrics.Types.LLM other)
Parameters
otherSimulationRun.Types.JobMetrics.Types.LLM
Fields
TokensPerSecondFieldNumber
Field number for the "tokens_per_second" field.
public const int TokensPerSecondFieldNumber = 3
Field Value
TtfsMsFieldNumber
Field number for the "ttfs_ms" field.
public const int TtfsMsFieldNumber = 2
Field Value
TtftMsFieldNumber
Field number for the "ttft_ms" field.
public const int TtftMsFieldNumber = 1
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasTokensPerSecond
Gets whether the "tokens_per_second" field is set
public bool HasTokensPerSecond { get; }
Property Value
HasTtfsMs
Gets whether the "ttfs_ms" field is set
public bool HasTtfsMs { get; }
Property Value
HasTtftMs
Gets whether the "ttft_ms" field is set
public bool HasTtftMs { get; }
Property Value
Parser
public static MessageParser<SimulationRun.Types.JobMetrics.Types.LLM> Parser { get; }
Property Value
- MessageParser<SimulationRun.Types.JobMetrics.Types.LLM>
TokensPerSecond
needs the RemoteSession
public float TokensPerSecond { get; set; }
Property Value
TtfsMs
needs the RemoteSession; time to first sentence, the smallest speakable unit
public uint TtfsMs { get; set; }
Property Value
TtftMs
needs the RemoteSession; time to first token
public uint TtftMs { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
ClearTokensPerSecond()
Clears the value of the "tokens_per_second" field
public void ClearTokensPerSecond()
ClearTtfsMs()
Clears the value of the "ttfs_ms" field
public void ClearTtfsMs()
ClearTtftMs()
Clears the value of the "ttft_ms" field
public void ClearTtftMs()
Clone()
Creates a deep clone of this object.
public SimulationRun.Types.JobMetrics.Types.LLM Clone()
Returns
- SimulationRun.Types.JobMetrics.Types.LLM
A deep clone of this object.
Equals(LLM)
public bool Equals(SimulationRun.Types.JobMetrics.Types.LLM other)
Parameters
otherSimulationRun.Types.JobMetrics.Types.LLM
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(LLM)
Merges the given message into this one.
public void MergeFrom(SimulationRun.Types.JobMetrics.Types.LLM other)
Parameters
otherSimulationRun.Types.JobMetrics.Types.LLM
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.