diff options
author | dormando <dormando@rydia.net> | 2017-05-08 15:17:23 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2017-06-04 13:26:36 -0700 |
commit | 1a8373c9b2eb3fc23cdd160c0a57728dd1c25497 (patch) | |
tree | 4d8a310cff3743834d9cdd6564cb30f2e924f2f7 /memcached.h | |
parent | 7de9c6cf9991ae8885646fa6b7abb5c692a1efab (diff) | |
download | memcached-1a8373c9b2eb3fc23cdd160c0a57728dd1c25497.tar.gz |
per-LRU hits breakdown
no actual speed loss. emulate the slab_stats "get_hits" by totalling up the
per-LRU get_hits.
could sub-LRU many stats but should use a different command/interface for
that.
Diffstat (limited to 'memcached.h')
-rw-r--r-- | memcached.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/memcached.h b/memcached.h index 65d8f60..9ef3e53 100644 --- a/memcached.h +++ b/memcached.h @@ -274,6 +274,7 @@ struct thread_stats { THREAD_STATS_FIELDS #undef X struct slab_stats slab_stats[MAX_NUMBER_OF_SLAB_CLASSES]; + uint64_t lru_hits[POWER_LARGEST]; }; /** |