diff options
author | Marissa Wall <marissaw@google.com> | 2018-01-19 15:58:27 -0800 |
---|---|---|
committer | Marissa Wall <marissaw@google.com> | 2018-01-25 02:01:05 +0000 |
commit | 283fce2c76a5119e2309bc1fdafa013609c170ac (patch) | |
tree | 968d1af1fb41369b46dcdcbd361f21b62fef383d /init.common.rc | |
parent | 7b3fd626160380a64c4304eff592983b7db3e3d7 (diff) | |
download | marlin-283fce2c76a5119e2309bc1fdafa013609c170ac.tar.gz |
STOPSHIP: proc.uidcpupower reflector for experiments
Allow the concurrent_*_time to be enable and disabled
for performance experiments on the dogfood population.
This patch and the corresponding kernel patches should
be removed before launch.
proc.uidcpupower=* -> concurrent_*_time enabled
proc.uidcpupower=1 -> concurrent_*_time enabled
proc.uidcpupower=0 -> concurrent_*_time disabled
Test: Run "adb shell setprop proc.uidcpupower 0" and
check that "adb shell cat /proc/uid_cpupower/enable"
returns 0. Repeat the test with 1.
Change-Id: I2df207c248545481b28a54245366d1a6ed8f8932
Diffstat (limited to 'init.common.rc')
-rw-r--r-- | init.common.rc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/init.common.rc b/init.common.rc index b10742e7..30a4229c 100644 --- a/init.common.rc +++ b/init.common.rc @@ -560,6 +560,12 @@ on property:ro.build.type=userdebug on property:init.svc.per_mgr=running start per_proxy +on property:proc.uidcpupower=* + write /proc/uid_cpupower/enable 1 + +on property:proc.uidcpupower=0 + write /proc/uid_cpupower/enable 0 + on property:sys.shutdown.requested=* stop per_proxy # Disable subsystem restart |