Re: profile_time in win32 euphoria
- Posted by Derek Parnell <ddparnell at bigpond.com> Oct 21, 2004
- 603 views
Robert Craig wrote: > > Elliott S. de Andrade wrote: > > Obviously, not a lot of searching.... I found it in a couple minutes > > (though I /did/ know what to look for already.) Your best bet would be the > > SetTimer function ( > > <a > > href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/timers/timerreference/timerfunctions/settimer.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/timers/timerreference/timerfunctions/settimer.asp</a> > > Thanks. > I'm not sure SetTimer will do what I want, but I'll look into it. > I get the impression it's more of an application-level timer. > In DOS, I have a precise machine-level interrupt that I handle > at a low level, even to the point of looking at CPU registers. > SetTimer seems to just place a stream of messages into a queue, > and I'm not sure if it even does that preemptively or not. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/timers/abouttimers.asp Especially the secion on high resolution timers. -- Derek Parnell Melbourne, Australia