From d1e8d44990eb9e1bb7280ccff07b0d396fdcc0ae Mon Sep 17 00:00:00 2001 From: Robert Gustafsson Date: Sat, 14 Oct 2017 14:48:28 +0200 Subject: Add statistics after SIGINT --- broccoli/includes/types.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'broccoli/includes') diff --git a/broccoli/includes/types.h b/broccoli/includes/types.h index d2cf19e..b23da1a 100644 --- a/broccoli/includes/types.h +++ b/broccoli/includes/types.h @@ -25,6 +25,10 @@ struct fifo_q{ Queue_t * tail; int maxSize; int currentSize; + int droppedValues; + int largestBufferSize; + int valuesReceived; + int valuesReleased; sem_t bufferEmptyBlock; sem_t lock; }; -- cgit v1.2.3