Documentation
¶
Index ¶
- Variables
- type LatencyPredictionInfo
- func (l *LatencyPredictionInfo) Clone() fwkdl.Cloneable
- func (l *LatencyPredictionInfo) DispatchedRequestCount() int
- func (l *LatencyPredictionInfo) IsValid() bool
- func (l *LatencyPredictionInfo) TPOT() float64
- func (l *LatencyPredictionInfo) TPOTHeadroom() float64
- func (l *LatencyPredictionInfo) TPOTValid() bool
- func (l *LatencyPredictionInfo) TTFT() float64
- func (l *LatencyPredictionInfo) TTFTHeadroom() float64
- func (l *LatencyPredictionInfo) TTFTValid() bool
Constants ¶
This section is empty.
Variables ¶
View Source
var LatencyPredictionInfoDataKey = plugin.NewDataKey("LatencyPredictionInfoDataKey", latencyproducerconstants.LatencyDataProviderPluginType)
Functions ¶
This section is empty.
Types ¶
type LatencyPredictionInfo ¶
type LatencyPredictionInfo struct {
// contains filtered or unexported fields
}
LatencyPredictionInfo contains latency predictions for an endpoint
func NewLatencyPredictionInfo ¶
func NewLatencyPredictionInfo( ttftValid, tpotValid bool, ttftHeadroom, tpotHeadroom float64, ttft, tpot float64, dispatchedRequestCount int, ) *LatencyPredictionInfo
func (*LatencyPredictionInfo) Clone ¶
func (l *LatencyPredictionInfo) Clone() fwkdl.Cloneable
Clone implements fwkdl.Cloneable
func (*LatencyPredictionInfo) DispatchedRequestCount ¶
func (l *LatencyPredictionInfo) DispatchedRequestCount() int
func (*LatencyPredictionInfo) IsValid ¶
func (l *LatencyPredictionInfo) IsValid() bool
func (*LatencyPredictionInfo) TPOT ¶
func (l *LatencyPredictionInfo) TPOT() float64
func (*LatencyPredictionInfo) TPOTHeadroom ¶
func (l *LatencyPredictionInfo) TPOTHeadroom() float64
func (*LatencyPredictionInfo) TPOTValid ¶
func (l *LatencyPredictionInfo) TPOTValid() bool
func (*LatencyPredictionInfo) TTFT ¶
func (l *LatencyPredictionInfo) TTFT() float64
func (*LatencyPredictionInfo) TTFTHeadroom ¶
func (l *LatencyPredictionInfo) TTFTHeadroom() float64
Click to show internal directories.
Click to hide internal directories.