Hi,

I'm currently testing the impact of heavy CPU workload on
accelerometer sampling frequency. It appears, that when CPU workload
is high, the samplerate oscillates between higher and lower than
average values. I'm also storing the timestamp diff between two events
and the test reveals, that there is also an oscillation here.

You can see the time diff between sensor events here):
http://cl.ly/2S3o2T0w3A1W181i3g3F

N is the phase with normal CPU load, Y the phase with high CPU load
(around 95%+).

The influence on the sample rate can be seen in this chart):
http://cl.ly/1T253P041O0R2m1U3Z1V

How does android process events in case of high CPU load? Does it
collect events and then sends many of them in a burst phase to the
handler of an app?

Best
Heiko

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

Reply via email to