Hey, i was wondering is there was a program, or a chart, or a web site or something like that which could tell me the speed of functions (meaning, their execution time) .
Hey, i was wondering is there was a program, or a chart, or a web site or something like that which could tell me the speed of functions (meaning, their execution time) .
Not yet, have to think of one...
i think C Unleashed has a chart of several.
You could also call gettimeofday() before and after the function and compare the difference. Of course, the amount of time taken to call gettimeofday() will skew the results a little.
Jason Deckard
its a book.
ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.
You can also use CTime and CTimeSpan in MFC.