Package org.mockserver.llm.analysis
Class LlmOptimisationReport.Totals
java.lang.Object
org.mockserver.llm.analysis.LlmOptimisationReport.Totals
- Enclosing class:
- LlmOptimisationReport
Aggregated counts across every included call.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongdoubleintdoublelongdoublelonglongintintlongbooleanbooleanTrue when at least one included call could not be priced (unknown model).setCachedInputTokens(long cachedInputTokens) setCacheHitRatio(double cacheHitRatio) setCallCount(int callCount) setCostIsEstimated(boolean costIsEstimated) setCostUnknown(boolean costUnknown) setEstimatedCostUsd(double estimatedCostUsd) setInputTokens(long inputTokens) setOneShotRate(double oneShotRate) setOutputTokens(long outputTokens) setReasoningTokens(long reasoningTokens) setRetryCallCount(int retryCallCount) setToolCallCount(int toolCallCount) setTotalLatencyMs(long totalLatencyMs)
-
Constructor Details
-
Totals
public Totals()
-
-
Method Details
-
getCallCount
public int getCallCount() -
setCallCount
-
getInputTokens
public long getInputTokens() -
setInputTokens
-
getOutputTokens
public long getOutputTokens() -
setOutputTokens
-
getCachedInputTokens
public long getCachedInputTokens() -
setCachedInputTokens
-
getReasoningTokens
public long getReasoningTokens() -
setReasoningTokens
-
getEstimatedCostUsd
public double getEstimatedCostUsd() -
setEstimatedCostUsd
-
isCostIsEstimated
public boolean isCostIsEstimated() -
setCostIsEstimated
-
isCostUnknown
public boolean isCostUnknown()True when at least one included call could not be priced (unknown model). -
setCostUnknown
-
getTotalLatencyMs
public long getTotalLatencyMs() -
setTotalLatencyMs
-
getToolCallCount
public int getToolCallCount() -
setToolCallCount
-
getCacheHitRatio
public double getCacheHitRatio() -
setCacheHitRatio
-
getOneShotRate
public double getOneShotRate() -
setOneShotRate
-
getRetryCallCount
public int getRetryCallCount() -
setRetryCallCount
-