tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <billwbar...@verizon.net>
Subject Re: modify the source code to measure the time of processing a request
Date Wed, 13 Jan 2010 06:56:43 GMT
This type of request belongs on the user mailing list, so please direct any 
follow up there.

What you want can be done with a simple ServletRequestListener.  There is no 
need to hack the Tomcat code.

"Bao" <systemtap@yahoo.cn> wrote in message 
news:930702.47873.qm@web92411.mail.cnh.yahoo.com...
Hi,
  Our company is using the apache tomcat 6.0.20 as our server.
And now I plan to measure the time of every requet processed in the server 
without the help of any benchmark tool.
  I plan to modify the code to add a time stamp in a request when it comes 
into the server and add another time stamp when it go out of server. So with 
a simple subtraction I can get the time I need.
  However,I am not familiar with the archive of the source code.So anyone 
could give me some suggestion of doing this?Like where should I modify in 
the source code.
  Thanks!


      ___________________________________________________________
  好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/ 




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message