Enable perf counter updates in the ringbuffer queue handler.

remotes/origin/master-1.0.x
Victor Julien 15 years ago
parent a42fff541f
commit 1e707803c0

@ -58,6 +58,10 @@ Packet *TmqhInputRingBuffer(ThreadVars *t)
RingBufferMrMw8 *rb = ringbuffers[t->inq->id];
Packet *p = (Packet *)RingBufferMrMw8Get(rb);
if (t->sc_perf_pctx.perf_flag == 1)
SCPerfUpdateCounterArray(t->sc_perf_pca, &t->sc_perf_pctx, 0);
return p;
}

Loading…
Cancel
Save