Timer

This is a discussion on Timer within the C++ Programming forums, part of the General Programming Boards category; Does anyone know how to have a timer record the time it takes to do an operation? I need it ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    241

    Question Timer

    Does anyone know how to have a timer record the time it takes to do an operation? I need it to work for borland C++ v5.02. I just need the names of the functions that do that because I have used them before, but it has been a year or two.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    Look up time_t, clock, and difftime in the time.h header. That's what you want.

    -Prelude
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SIGALRM and timer
    By nkhambal in forum C Programming
    Replies: 1
    Last Post: 06-30-2008, 01:23 AM
  2. tic tac toe crashes :(
    By stien in forum Game Programming
    Replies: 4
    Last Post: 05-13-2007, 07:25 PM
  3. Need help with a count down timer
    By GUIPenguin in forum C# Programming
    Replies: 0
    Last Post: 07-07-2006, 05:18 PM
  4. Timer again.
    By geek@02 in forum Windows Programming
    Replies: 1
    Last Post: 05-04-2005, 11:19 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21