]> err.no Git - varnish/commit
Add statistics counter support.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 28 Jun 2006 09:21:15 +0000 (09:21 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 28 Jun 2006 09:21:15 +0000 (09:21 +0000)
commit37563472cce2abd75481e3dfe5b70fc0707986f4
treec1bbfe0fa8fbdc186567b40bc528626eba6c02a9
parent691f06abb682c3a6990c65435f54857a24a76a84
Add statistics counter support.

stat_field.h defines the counter fields with name, type, (printf)format
and description.

stats.h defines a structure with these fields.

shmlog.h makes the structure  part of the shared memory logs header.

Implent the "stats" CLI word in the management process.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@243 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_acceptor.c
varnish-cache/bin/varnishd/cache_shmlog.c
varnish-cache/bin/varnishd/mgt.h
varnish-cache/bin/varnishd/varnishd.c
varnish-cache/include/shmlog.h
varnish-cache/include/stat_field.h [new file with mode: 0644]
varnish-cache/include/stats.h [new file with mode: 0644]