CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: GetTickCount

  1. #1
    Join Date
    Jan 1999
    Posts
    1

    GetTickCount



    I'm writing a program that needs very accurate timing. After numerous tries, I finally decided to use the api call "GetTickCount", so I could calculate the ticks per secound and go from there. I noticed the average count always ended up being 1000 (almost exactly). What is the tick count based on? And will this always be true?

  2. #2
    Join Date
    Apr 1999
    Posts
    16

    Re: GetTickCount



    You may want to look into QueryPerformanceCounter and QueryPerformanceFrequency for high resolution timming.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured