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

pull/1725/head
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
1 changed files with 1 additions and 0 deletions

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;