|
|
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/
|
|