r1564 - trunk/varnish-cache/include

des at projects.linpro.no des at projects.linpro.no
Mon Jun 25 16:15:52 CEST 2007


Author: des
Date: 2007-06-25 16:15:52 +0200 (Mon, 25 Jun 2007)
New Revision: 1564

Modified:
   trunk/varnish-cache/include/stat_field.h
Log:
Add fields for storage manager statistics.


Modified: trunk/varnish-cache/include/stat_field.h
===================================================================
--- trunk/varnish-cache/include/stat_field.h	2007-06-25 14:12:54 UTC (rev 1563)
+++ trunk/varnish-cache/include/stat_field.h	2007-06-25 14:15:52 UTC (rev 1564)
@@ -84,3 +84,8 @@
 MAC_STAT(shm_records,		uint64_t, "u", "SHM records")
 MAC_STAT(shm_writes,		uint64_t, "u", "SHM writes")
 MAC_STAT(shm_cont,		uint64_t, "u", "SHM MTX contention")
+
+MAC_STAT(sm_nreq,		uint64_t, "u", "allocator requests")
+MAC_STAT(sm_nobj,		uint64_t, "u", "outstanding allocations")
+MAC_STAT(sm_balloc,		uint64_t, "u", "bytes allocated")
+MAC_STAT(sm_bfree,		uint64_t, "u", "bytes free")




More information about the varnish-commit mailing list