]> err.no Git - varnish/commit
Add a delta-stats structure to worker threads and keep
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 20 Feb 2009 15:25:06 +0000 (15:25 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 20 Feb 2009 15:25:06 +0000 (15:25 +0000)
commit466441c912a1a0c0d5d08ae7c09c7a3dfd2b3cdf
tree3346065b6d53fb418b8e312a27d746124b05e23a
parentfe253cd5c8b61a330ce0e22dfdca2b9b937d803a
Add a delta-stats structure to worker threads and keep
track of n_object and n_objecthead in them.

Accumulate into global stats after work is done if the lock is
free and always before going idle.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3796 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/cache_center.c
varnish-cache/bin/varnishd/cache_expire.c
varnish-cache/bin/varnishd/cache_hash.c
varnish-cache/bin/varnishd/cache_pool.c
varnish-cache/bin/varnishd/hash_critbit.c
varnish-cache/bin/varnishd/hash_slinger.h
varnish-cache/include/stat_field.h