[Cyrus-CVS] src/cyrus/lib by brong
brong at andrew.cmu.edu
brong at andrew.cmu.edu
Mon Jun 28 08:06:44 EDT 2010
Update of /afs/andrew.cmu.edu/system/cvs/src/cyrus/lib
In directory cyrus-devel-01.andrew.cmu.edu:/afs/andrew.cmu.edu/usr3/brong/src/cyrus/lib
Modified Files:
imapoptions prot.c util.c util.h
Log Message:
Command timer
We want to be able to track which commands take a
long time to run so we can figure out which parts
of our interface to optimise or move "problem"
users to less loaded servers.
This patch tracks how long each command takes to run
and puts an entry into the log if it's longer than
the time configured by <tt>commandmintimer</tt>.
--- links to diffs follow ---
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/imapoptions.diff?r1=1.77&r2=1.78
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/prot.c.diff?r1=1.99&r2=1.100
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/util.c.diff?r1=1.39&r2=1.40
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/util.h.diff?r1=1.27&r2=1.28
More information about the Cyrus-cvs
mailing list