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 and most real way of calculating the execution time?
Stopwatch? Any other solution? I want the most exact one, and briefest as much as possible.