Possible Duplicate: How do I measure how long a function is running? I have an I/O time-taking method which copies data from a location to another. What’s the best...
Is there a stopwatch in Java?