aboutsummaryrefslogtreecommitdiff
path: root/broccoli/includes/types.h
diff options
context:
space:
mode:
authorRobert Gustafsson <robg@student.chalmers.se>2017-10-14 14:48:28 +0200
committerRobert Gustafsson <robg@student.chalmers.se>2017-10-14 14:48:28 +0200
commitd1e8d44990eb9e1bb7280ccff07b0d396fdcc0ae (patch)
tree251bd72f01982a13f503bca230e1622c2787c74d /broccoli/includes/types.h
parentd12ef314dfcd9bafd370669fc47e5ee443767b28 (diff)
downloadmidbro-d1e8d44990eb9e1bb7280ccff07b0d396fdcc0ae.tar.gz
midbro-d1e8d44990eb9e1bb7280ccff07b0d396fdcc0ae.tar.bz2
Add statistics after SIGINT
Diffstat (limited to 'broccoli/includes/types.h')
-rw-r--r--broccoli/includes/types.h4
1 files changed, 4 insertions, 0 deletions
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;
};