getting system time with better than a second resolution

This is a discussion on getting system time with better than a second resolution within the C++ Programming forums, part of the General Programming Boards category; How do I get the current system time with in a unit smaller than seconds? (if there's no way in ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,333
    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, 06: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, 05:53 PM
  5. Passing system time to a function
    By Unregistered in forum C++ Programming
    Replies: 7
    Last Post: 02-14-2002, 12:56 PM

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