Addition of show eventstats

This commit is contained in:
Mark Riddoch
2014-10-23 13:38:46 +01:00
parent 70672e43a1
commit 9e0a8a0eee
5 changed files with 80 additions and 16 deletions

View File

@ -109,6 +109,7 @@ typedef struct gw_protocol {
* processing Flag to indicate the processing status of the DCB
* eventqlock Spinlock to protect this structure
* inserted Insertion time for logging purposes
* started Time that the processign started
*/
typedef struct {
struct dcb *next;
@ -118,6 +119,7 @@ typedef struct {
int processing;
SPINLOCK eventqlock;
unsigned long inserted;
unsigned long started;
} DCBEVENTQ;
/**