ggerganov commited on
Commit
f02be35
·
unverified ·
1 Parent(s): 1f8a047

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

Browse files
Files changed (1) hide show
  1. whisper.cpp +1 -0
whisper.cpp CHANGED
@@ -3821,6 +3821,7 @@ void whisper_reset_timings(struct whisper_context * ctx) {
3821
  ctx->state->t_sample_us = 0;
3822
  ctx->state->t_encode_us = 0;
3823
  ctx->state->t_decode_us = 0;
 
3824
  ctx->state->t_prompt_us = 0;
3825
  ctx->state->n_sample = 0;
3826
  ctx->state->n_encode = 0;
 
3821
  ctx->state->t_sample_us = 0;
3822
  ctx->state->t_encode_us = 0;
3823
  ctx->state->t_decode_us = 0;
3824
+ ctx->state->t_batchd_us = 0;
3825
  ctx->state->t_prompt_us = 0;
3826
  ctx->state->n_sample = 0;
3827
  ctx->state->n_encode = 0;