how to get time in milliseconds

This is a discussion on how to get time in milliseconds within the C Programming forums, part of the General Programming Boards category; I need a function that will show how fast a program gets executed in milliseconds. This is because the program ...

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    4

    how to get time in milliseconds

    I need a function that will show how fast a program gets executed in milliseconds. This is because the program does not take a second to be executed so i need it to be more precise.

    I use RHIDE as my compiler.

    thanks a lot.

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231

    Re: how to get time in milliseconds

    >>I use RHIDE as my compiler.
    RHIDE is not a compiler.

    And does this post belong with this thread. Did you miss this comment by Salem:
    Anything of higher resolution requires details of your OS and compiler.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    C-dumbie
    Guest
    Salem,
    By the way can you show us how to display time in microsecond?
    You are the best!
    Thank you.
    C-dumbie

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Execution Time - Rijandael encryption
    By gamer4life687 in forum C++ Programming
    Replies: 5
    Last Post: 09-20-2008, 10:25 PM
  2. Sending an email in C program
    By Moony in forum C Programming
    Replies: 28
    Last Post: 10-19-2006, 11:42 AM
  3. Journey time prog 1 minute wrong
    By mike_g in forum C Programming
    Replies: 4
    Last Post: 10-12-2006, 04:41 AM
  4. time class
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 12-11-2001, 10:12 PM

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