recordInferenceDuration

fun recordInferenceDuration(modelType: String, durationMs: Long)

Records the duration of a completed inference for a given model type.

Parameters

modelType

The model-type key (e.g. "llama-thinking", "tesseract").

durationMs

The wall-clock duration in milliseconds.