From 6eac86cdb364354e6c38e103882956de66c864bb Mon Sep 17 00:00:00 2001 From: des Date: Mon, 25 Jun 2007 14:15:52 +0000 Subject: [PATCH] Add fields for storage manager statistics. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1564 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/include/stat_field.h | 5 +++++ 1 file changed, 5 insertions(+) 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") -- 2.39.5