diff options
author | Robert Gustafsson <robg@student.chalmers.se> | 2017-10-14 14:48:28 +0200 |
---|---|---|
committer | Andreas Lindhé <andreas@lindhe.io> | 2017-10-18 20:34:22 +0200 |
commit | 7ddb241b20b219dc4069d455d0a69b9f5e80d761 (patch) | |
tree | 9883552a5ef6234a951d99f95c8f85a8e03f84a0 /broccoli/includes | |
parent | 9c87ed9c965847ee784c4bae092e9d27ee2ffed7 (diff) | |
download | midbro-7ddb241b20b219dc4069d455d0a69b9f5e80d761.tar.gz midbro-7ddb241b20b219dc4069d455d0a69b9f5e80d761.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; }; |