Original Post
Hi, I would like to know the best way to measure the time it takes for the function to run. I want to test out different line drawing algorithms, and see how they compare. I read somewhere that you can use regular windows time functions, but won't the extra function calls interfere with timing? BTW I am using VC6 which does come with a profiler, but I don't think it's accurate. I rerun the same code 5 or 6 times and it's output varies from .24s to .6s. If I'm trying to improve algorithm speed won't every millisecond matter? Thanks.