dcsimg
Results 1 to 3 of 3

Thread: Stopwatch with Nanoseconds vb6

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2014
    Posts
    35

    Stopwatch with Nanoseconds vb6

    I'm trying to create a Stopwatch that starts with Nanoseconds.
    I can already run a Clock with milliseconds but I want to start from zero like a stopwatch. Thanks for helping my time project.

  2. #2
    PowerPoster
    Join Date
    Sep 2006
    Location
    Egypt
    Posts
    2,580

    Re: Stopwatch with Nanoseconds vb6

    Do need a high precision timer? If so, see this http://www.devx.com/vb2themax/Tip/18482



  3. #3
    PowerPoster
    Join Date
    Feb 2006
    Posts
    20,972

    Re: Stopwatch with Nanoseconds vb6

    See High Precision Event Timer which explains the problems with the approach advocated at that link above.

    On most systems even when it works you get at best 100 nanosecond resolution.

    Then you have to consider how Windows actually works. You are never going to get what is being asked for.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width