r2005 - trunk/varnish-cache/include

phk at projects.linpro.no phk at projects.linpro.no
Mon Sep 24 10:01:07 CEST 2007


Author: phk
Date: 2007-09-24 10:01:07 +0200 (Mon, 24 Sep 2007)
New Revision: 2005

Modified:
   trunk/varnish-cache/include/stat_field.h
Log:
Add a couple of statistics counters for LRU


Modified: trunk/varnish-cache/include/stat_field.h
===================================================================
--- trunk/varnish-cache/include/stat_field.h	2007-09-24 07:37:40 UTC (rev 2004)
+++ trunk/varnish-cache/include/stat_field.h	2007-09-24 08:01:07 UTC (rev 2005)
@@ -61,6 +61,8 @@
 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")




More information about the varnish-commit mailing list