commit | c67c83a0c1584bdf838bfa1d01eff31ff679d594 | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Wed Oct 02 16:08:58 2013 -0700 |
committer | Andy McFadden <fadden@android.com> | Wed Oct 02 16:32:12 2013 -0700 |
tree | 4129bb9ce71737ec8cf5f37f3f88bcf3ef13d27f | |
parent | 7d378bec4412e41b2ca0f1d99261fecf3cd27900 [diff] |
Go faster by wasting CPU Part of this test generates frames faster than SurfaceFlinger can display them, to test SF's ability to drop stale timestamped buffers. On certain devices, the power management reduces the clock frequencies to the point where we can't actually generate frames that quickly. This adds a spinning thread on multi-core devices to increase the apparent workload. Bug 10955012 Change-Id: Ic07c93765a41e150449fdce61f4fc4f3785451d0