diff options
author | Robert Gustafsson <robg@student.chalmers.se> | 2017-10-14 14:48:28 +0200 |
---|---|---|
committer | Robert Gustafsson <robg@student.chalmers.se> | 2017-10-14 14:48:28 +0200 |
commit | d1e8d44990eb9e1bb7280ccff07b0d396fdcc0ae (patch) | |
tree | 251bd72f01982a13f503bca230e1622c2787c74d /broccoli/includes | |
parent | d12ef314dfcd9bafd370669fc47e5ee443767b28 (diff) | |
download | midbro-d1e8d44990eb9e1bb7280ccff07b0d396fdcc0ae.tar.gz midbro-d1e8d44990eb9e1bb7280ccff07b0d396fdcc0ae.tar.bz2 |
Add statistics after SIGINT
Diffstat (limited to 'broccoli/includes')
-rw-r--r-- | broccoli/includes/types.h | 4 |
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; }; |