Results 1 to 6 of 6

Thread: Accurate time mesurement in Qt. (QueryPerformanceCounter equivalent?)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Accurate time mesurement in Qt. (QueryPerformanceCounter equivalent?)

    Hi all,

    I need to mesure time from one moment to another.
    Is there are any equivalent of WinAPI QueryPerformanceCounter()?

    Needed accuracy is at least 20 ms. I could use QTime::start() and QTime::ellapsed() but this approach gives problems if someone change system time.

    Probably I could use some function that returns time from the begining of runing the application. Wich would be good thing. But I cant find any function like this.

    So I need robust and accurate time mesurement. Any ideas?

    Thanks
    Last edited by progDes; 14th May 2009 at 07:44.

Similar Threads

  1. QDateTime GMT add sec. or - sec. from locale time....
    By patrik08 in forum Qt Programming
    Replies: 2
    Last Post: 20th February 2007, 16:39

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.