|
Method execution time
I have few methods and I want to know the time it takes to execute each. Does java provides some support for that? I can sore the time before calling the method and then subtract it from the time the methods returns. But meanwhile, some other processes will also be running on my machine. So it wont depict the right picture.
Thanks in advance.
|