Home » Community » Newbie corner » TIme and Idle
Re: TIme and Idle [message #31407 is a reply to message #31401] |
Tue, 01 March 2011 10:42   |
|
Hi Wlad,
Wlad wrote on Tue, 01 March 2011 10:04 | 1. How can I find the time to within one millisecond precision?
|
If I remember correctly, there is GetTicks() function returning the number of miliseconds, which can be used to do this. Most of the time however, such precision is only useful for measuring purposes. If that is your case, have a look at TimeStop class, which provides easy way to measure time intervals with the precision you requested.
Wlad wrote on Tue, 01 March 2011 10:04 | 2. Is it an "OnIdle" event in U++?
|
AFAIK there is no such thing in U++ (but I might be wrong ). It might be possible to "emulate" it using callbacks... Could you describe a bit what do you need it for? In most cases it can be just done in some other way 
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Sun Aug 24 09:41:16 CEST 2025
Total time taken to generate the page: 0.03374 seconds
|