Calculating Execution Times
I am currently in the process of creating a class for determining execution times of various programs for my data structures and algorithms course. I have been looking around and have found some alright classes but nothing that appears to be really what I want. I have been looking into the framework, trying to determine the best way to measure an execution time and so far, DateTime.Now.Ticks, I think would be the best choice (Please advise if their is a better choice). This class currently allows for laps (so that multiple executions can be run and compared), and it gives avearge, minimum, and maximum execution times.
Any feedback would be greatly appreciated.