]> err.no Git - varnish/commitdiff
Add a couple of statistics counters for LRU
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 24 Sep 2007 08:01:07 +0000 (08:01 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 24 Sep 2007 08:01:07 +0000 (08:01 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2005 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/include/stat_field.h

index 5e7a80c83bd6b383b7bb6c159f76b8a5aad55d87..ab7c02413eef2e1d052970e31b9fd139e355cd59 100644 (file)
@@ -61,6 +61,8 @@ MAC_STAT(n_wrk_overflow,      uint64_t, 'a', "N overflowed work requests")
 MAC_STAT(n_wrk_drop,           uint64_t, 'a', "N dropped work requests")
 
 MAC_STAT(n_expired,            uint64_t, 'i', "N expired objects")
+MAC_STAT(n_lru_nuked,          uint64_t, 'i', "N LRU nuked objects")
+MAC_STAT(n_lru_saved,          uint64_t, 'i', "N LRU saved objects")
 MAC_STAT(n_deathrow,           uint64_t, 'i', "N objects on deathrow")
 
 MAC_STAT(losthdr,              uint64_t, 'a', "HTTP header overflows")