summaryrefslogtreecommitdiff
path: root/items.h
diff options
context:
space:
mode:
authorTrond Norbye <Trond.Norbye@sun.com>2009-03-24 20:59:47 +0100
committerTrond Norbye <Trond.Norbye@sun.com>2009-03-24 20:59:47 +0100
commit53180103df1bbca1292a14ef96aab2e6a19e13cf (patch)
tree63dfe5d5f745e44c716b2d41ee2186916f384852 /items.h
parentf5ea1711289c360c3be1e630f6ccfc12a9afa417 (diff)
downloadmemcached-53180103df1bbca1292a14ef96aab2e6a19e13cf.tar.gz
"stats reset" should reset eviction counters as well
See: http://code.google.com/p/memcached/issues/detail?id=22
Diffstat (limited to 'items.h')
-rw-r--r--items.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/items.h b/items.h
index 0c680a2..ab680ed 100644
--- a/items.h
+++ b/items.h
@@ -27,3 +27,5 @@ void do_item_flush_expired(void);
item *do_item_get(const char *key, const size_t nkey);
item *do_item_get_nocheck(const char *key, const size_t nkey);
+void item_stats_reset(void);
+extern pthread_mutex_t cache_lock;