Addition of hash table statisics commands

This commit is contained in:
Mark Riddoch
2013-06-25 18:20:00 +02:00
parent 33c98b54e7
commit 0792801996
10 changed files with 173 additions and 25 deletions

View File

@ -32,6 +32,7 @@
*/
#include <spinlock.h>
#include <atomic.h>
#include <dcb.h>
/**
* The entries within a hashtable.
@ -77,4 +78,6 @@ extern int hashtable_delete(HASHTABLE *, void *);
/**< Delete an entry table */
extern void *hashtable_fetch(HASHTABLE *, void *);
/**< Fetch the data for a given key */
extern void hashtable_stats(HASHTABLE *); /**< Print statisitics */
extern void dcb_hashtable_stats(DCB *, HASHTABLE *); /**< Print statisitics */
#endif