whispser : reset the "batched" timings (#1721)

This commit is contained in:
Georgi Gerganov 2024-01-04 13:37:25 +02:00
parent 9962371f71
commit 668ffc9b23
No known key found for this signature in database
GPG Key ID: BF970631944C16B7

View File

@ -3821,6 +3821,7 @@ void whisper_reset_timings(struct whisper_context * ctx) {
ctx->state->t_sample_us = 0;
ctx->state->t_encode_us = 0;
ctx->state->t_decode_us = 0;
ctx->state->t_batchd_us = 0;
ctx->state->t_prompt_us = 0;
ctx->state->n_sample = 0;
ctx->state->n_encode = 0;