• Poul-Henning Kamp's avatar
    Add per address, per session and total statistics. · 13163b87
    Poul-Henning Kamp authored
    We (will) collect data in unlocked per workerthread accumulators
    and whenever the workerthread leaves the session, we charge the
    bill to the srcaddr (issuing a StatAddr shmrecord), to the session
    and to the global counters in the stats struct.
    
    When sessions die we issue a StatSess shmrecord.
    
    StatAddr and StatSess has the same format:
    	address
    	port (always zero for StatAddr)
    	duration (seconds)
    	#sessions
    	#requests
    	#pipe
    	#pass
    	#fetch
    	#hdrbytes
    	#bodybytes
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@564 d4fa192b-c00b-0410-8231-f00ffab90ce4
    13163b87
Name
Last commit
Last update
..
varnish Loading commit data...
Makefile.am Loading commit data...
binary_heap.h Loading commit data...
cli.h Loading commit data...
cli_priv.h Loading commit data...
compat.h Loading commit data...
hash.h Loading commit data...
http_headers.h Loading commit data...
libvarnish.h Loading commit data...
libvcl.h Loading commit data...
miniobj.h Loading commit data...
queue.h Loading commit data...
sbuf.h Loading commit data...
shmlog.h Loading commit data...
shmlog_tags.h Loading commit data...
stat_field.h Loading commit data...
stats.h Loading commit data...
tree.h Loading commit data...
varnishapi.h Loading commit data...
vcl.h Loading commit data...
vcl_returns.h Loading commit data...
vrt.h Loading commit data...
vrt_obj.h Loading commit data...