Android is not a realtime OS (it gives no guarentees about when events
will happen).  Plus there is the ever present garbage collector.  What
I am try to say is I think you have no chance - sorry.

/Richard

On Jul 5, 3:30 pm, Omer Gilad <[email protected]> wrote:
> Hello,
> Does anyone know of a precise way of measuring 80 milliseconds for
> scheduling purposes?
> Thread.sleep() and SystemClock.sleep() don't seem accurate enough.
>
> Purpose - I want to schedule a certain event to happen in an exact
> interval of 80 milliseconds and I don't want the time to skew
> (scheduling 1000 such events must take 80 seconds in total).
>
> Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to