From: des Date: Mon, 25 Jun 2007 14:15:52 +0000 (+0000) Subject: Add fields for storage manager statistics. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6eac86cdb364354e6c38e103882956de66c864bb;p=varnish Add fields for storage manager statistics. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1564 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/include/stat_field.h b/varnish-cache/include/stat_field.h index c5b7a5a3..2ed83e80 100644 --- a/varnish-cache/include/stat_field.h +++ b/varnish-cache/include/stat_field.h @@ -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")