commit | 5049b437591600fb0d262e4215cee4226e63c6ce | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@android.com> | Tue Dec 04 15:57:57 2012 +0100 |
committer | David 'Digit' Turner <digit@android.com> | Wed Dec 05 13:21:52 2012 +0100 |
tree | 06e9e1986a777294d67611b0ea1d33fe0344499e | |
parent | 276caba22a974e84574c937ad6f9b6fef981cc0f [diff] |
cpu-features: Add android_setCpu() This patch adds a new function to the cpu-features library to be able to set the CPU properties manually, instead of relying on parsing /proc. This is mostly useful on ARM for sandboxed processes in Android 4.1 and higher, because these don't have permissions to access /proc. For more context, see http://code.google.com/p/chromium/issues/detail?id=164154 Change-Id: I1c4f22360210bcc3276093d2c81fa8d6c1e0f146