qt-interest@trolltech.com
[Top] [All Lists]

AW: QTime/QTimer

Subject: AW: QTime/QTimer
From: "Peter Prade"
Date: Mon, 21 Jul 2008 17:45:32 +0200
Well, unless you need to schedule tasks with more accuracy (i.e. you just need 
to know the current time with better accuracy) you can use 
QueryPerformanceCounter (on Windows XP) - i don't know of any Qt solution for 
this.

Cheers,
Peter

> -----Ursprüngliche Nachricht-----
> Von: Kellmel, Don [mailto:Don.Kellmel@xxxxxxxxxxxxxx] 
> Gesendet: Montag, 21. Juli 2008 17:34
> An: Arnold Krille; qt-interest@xxxxxxxxxxxxx
> Betreff: RE: QTime/QTimer
> 
> Thanks Arnold,
> 
> Wow, I may be seriously stuck. I am running a simulation and 
> maybe I can
> try some tricks with time scaling.
> 
> Don
> 
> -----Original Message-----
> From: Arnold Krille [mailto:arnold@xxxxxxxxxxxxx] 
> Sent: Monday, July 21, 2008 11:27 AM
> To: qt-interest@xxxxxxxxxxxxx
> Subject: Re: QTime/QTimer
> 
> Am Montag, 21. Juli 2008 schrieb Kellmel, Don:
> > I'm using QTime and QTimer to do some accurate timing. It 
> seems these
> > two classes are accurate to ~10ms on a Windows XP box. Is there a QT
> way
> > to get more accurate timing? I need, as a minimum, 1 ms.
> 
> I do know from a guy talking to a windows-driver-developer that the
> standard 
> windows kernel can't schedule faster then 10ms. So unless you do some
> pretty 
> evil and complicated tricks, you are stuck with that...
> 
> Arnold
> -- 
> visit http://www.arnoldarts.de/

--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>