PDA

View Full Version : Function Speed?



-leech-
01-17-2002, 02:20 PM
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) .

no-one
01-17-2002, 02:29 PM
i think C Unleashed has a chart of several.

-leech-
01-17-2002, 07:40 PM
Is that a web site?

Deckard
01-17-2002, 07:53 PM
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.

-leech-
01-17-2002, 08:22 PM
Thanks.

no-one
01-18-2002, 12:01 AM
its a book.

Drewpee
01-18-2002, 10:57 AM
You can also use CTime and CTimeSpan in MFC.