commit | ab0d976fa47844870d55c87ab530072cea0c8c53 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Tue Feb 02 10:52:56 2016 -0800 |
committer | Alex Deymo <deymo@google.com> | Tue Feb 02 14:05:08 2016 -0800 |
tree | cb26917d54fecbcb64a30c8a68ccbe4f363e3815 | |
parent | 492eaf5067c88db3477538d935ffb0a0ec0c1936 [diff] |
CPULimiter: Refactor class to manage the CPU limitation. This new class replaces the functionality embedded in UpdateAttempter that limits the max CPU usage allowed by update_engine. This refactor helps reusing this class outside of the brillo UpdateAttempter. Bug: None TEST=FEATURES=test emerge-link update_engine Change-Id: Ib5487d314846b497a44bb78a3b94609571e0fe38