]> err.no Git - varnish/commitdiff
Add fields for storage manager statistics.
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 25 Jun 2007 14:15:52 +0000 (14:15 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 25 Jun 2007 14:15:52 +0000 (14:15 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1564 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/include/stat_field.h

index c5b7a5a307313ae113b23b3e58d09104ee1e1335..2ed83e80adbdd861645b5f872b82b85a5256095e 100644 (file)
@@ -84,3 +84,8 @@ MAC_STAT(sess_herd,           uint64_t, "u", "Session herd")
 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")