[jboss-user] [Javassist user questions] - Retreiving timing information
joachimhb
do-not-reply at jboss.com
Fri Feb 6 09:51:03 EST 2009
Hello,
I would like to add timing information to a method. My current strategy is:
* Copy the method in question to another method with a different name
* Add a new method with the old name
** record current time at the start of the new method
** Execute the renamed method and store return value if it has one
** Print out the time difference at the bottom
Now, this is all fine, but these timing values have no value for me as System.out.prinln's. I would like to be able to retreive these values somehow and process them programmatically, or even to log the information to a seperate log file, etc ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207745#4207745
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207745
More information about the jboss-user
mailing list