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
    Jul 2009
    Posts
    58

    GetTickCount()

    Hi,

    GetTickCount calculates the time in milliseconds,,

    Whereas I want one to calc it in ticks (about 1/10000000 sec)

    In .Net framework there is a class named "Stopwatch", this class has a property called ElapsedTicks,, I need something like this in C++,,

    Can anyone help me??

    NOTE: I don't want to use .Net Framework,

    wait for your response,,,

    BYe..

  2. #2
    Join Date
    Jul 2005
    Posts
    185

    Re: GetTickCount()

    Google for

    msdn QueryPerformanceCounter
    There you're get to Microsoft's website, and look for an example.
    That's what you're looking for.

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