Thread: getting system time with better than a second resolution

  1. #1
    Registered User
    Join Date
    Dec 2004
    Location
    UK
    Posts
    109

    getting system time with better than a second resolution

    How do I get the current system time with in a unit smaller than seconds? (if there's no way in the standard, how do I do it under linux?)

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    gettimeofday()

  3. #3
    Registered User
    Join Date
    Dec 2004
    Location
    UK
    Posts
    109
    Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sending an email in C program
    By Moony in forum C Programming
    Replies: 28
    Last Post: 10-19-2006, 10:42 AM
  2. Read and set\change system time
    By Hexxx in forum C++ Programming
    Replies: 9
    Last Post: 01-02-2006, 07:11 AM
  3. Replies: 4
    Last Post: 06-13-2005, 09:03 AM
  4. Current System Time (In Milliseconds)
    By IGAU in forum C Programming
    Replies: 10
    Last Post: 03-30-2004, 06:53 PM
  5. Passing system time to a function
    By Unregistered in forum C++ Programming
    Replies: 7
    Last Post: 02-14-2002, 01:56 PM