Thread: Function Speed?

  1. #1
    Registered User -leech-'s Avatar
    Join Date
    Nov 2001
    Posts
    54

    Question Function Speed?

    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...

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    i think C Unleashed has a chart of several.

  3. #3
    Registered User -leech-'s Avatar
    Join Date
    Nov 2001
    Posts
    54
    Is that a web site?
    Not yet, have to think of one...

  4. #4
    The Artful Lurker Deckard's Avatar
    Join Date
    Jan 2002
    Posts
    633
    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

  5. #5
    Registered User -leech-'s Avatar
    Join Date
    Nov 2001
    Posts
    54
    Thanks.
    Not yet, have to think of one...

  6. #6
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    its a book.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  7. #7
    Registered User
    Join Date
    Aug 2001
    Posts
    106
    You can also use CTime and CTimeSpan in MFC.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. dllimport function not allowed
    By steve1_rm in forum C++ Programming
    Replies: 5
    Last Post: 03-11-2008, 03:33 AM
  2. Message class ** Need help befor 12am tonight**
    By TransformedBG in forum C++ Programming
    Replies: 1
    Last Post: 11-29-2006, 11:03 PM
  3. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 02:28 PM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  5. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM