Rick Yiu
7a1b8ea81e
sched/fair: use actual cpu capacity to calculate boosted util
...
Currently when calculating boosted util for a cpu, it uses a fixed
value of 1024 for calculation. So when top-app tasks moved to LC,
which has much lower capacity than BC, the freq calculated will be
high even the cpu util is low. This results in higher power
consumption, especially on arch which has more little cores than
big cores. By replacing the fixed value of 1024 with actual cpu
capacity will reduce the freq calculated on LC.
Bug: 152925197
Test: boosted util reduced on little cores
Signed-off-by: Rick Yiu <rickyiu@google.com >
Change-Id: I80cdd08a2c7fa5e674c43bfc132584d85c14622b
2020-06-16 13:20:18 +00:00
..
2020-06-15 15:36:42 +08:00
2020-05-28 18:06:23 +05:30
2018-08-28 17:15:17 +05:30
2020-05-28 18:06:23 +05:30
2020-05-30 02:18:38 +08:00
2020-06-15 15:36:42 +08:00
2019-05-17 16:05:09 -07:00
2020-06-15 15:36:42 +08:00
2019-10-07 18:57:10 +02:00
2020-02-03 21:43:57 -08:00
2020-05-30 02:28:19 +08:00
2020-06-15 15:36:42 +08:00
2020-05-28 18:06:23 +05:30
2020-06-16 13:20:18 +00:00
2020-06-15 15:36:42 +08:00
2020-06-15 15:36:42 +08:00
2019-07-24 00:31:32 +00:00
2019-05-31 06:46:05 -07:00
2018-05-18 14:58:22 +02:00
2019-12-13 08:51:11 +01:00
2019-12-13 08:51:02 +01:00
2020-05-28 18:06:23 +05:30
2020-05-28 18:06:23 +05:30
2019-12-01 09:17:17 +01:00
2018-11-13 11:08:47 -08:00
2020-05-28 18:06:23 +05:30
2019-05-20 19:40:50 -07:00
2020-05-30 02:16:06 +08:00
2019-03-04 14:00:49 +05:30
2020-06-15 15:36:42 +08:00
2018-08-22 10:52:47 -07:00
2020-01-09 10:19:00 +01:00
2019-03-21 16:25:26 -07:00
2019-10-11 18:21:23 +02:00
2020-05-30 02:18:38 +08:00
2018-06-21 12:33:19 +02:00
2020-06-15 15:36:42 +08:00
2018-08-06 12:35:20 +02:00
2020-05-30 02:18:43 +08:00
2019-07-24 00:31:52 +00:00
2019-08-02 12:42:25 -07:00
2019-05-31 06:46:19 -07:00
2019-06-04 08:02:34 +02:00
2020-05-28 18:06:23 +05:30
2019-05-24 15:32:11 +08:00
2018-08-02 08:06:54 +09:00
2020-05-28 18:06:23 +05:30
2020-05-30 02:29:09 +08:00
2019-11-24 08:20:29 +01:00
2018-06-12 16:19:22 -07:00
2018-07-16 12:31:57 -07:00
2019-07-24 00:31:43 +00:00
2020-05-30 02:19:27 +08:00
2020-05-28 18:06:23 +05:30
2019-03-22 23:07:04 +00:00
2020-05-30 02:15:08 +08:00
2020-05-30 02:19:10 +08:00
2018-07-02 11:36:17 +02:00
2018-07-02 11:36:17 +02:00
2020-05-28 18:06:23 +05:30
2020-05-28 18:06:23 +05:30
2020-05-30 02:15:03 +08:00
2020-05-30 02:00:42 +08:00
2019-07-26 09:14:01 +02:00
2020-05-30 02:07:26 +08:00
2020-05-28 18:06:23 +05:30
2019-05-16 16:07:15 -07:00
2019-03-13 14:02:35 -07:00
2019-09-16 08:22:20 +02:00
2018-07-10 22:18:52 +02:00
2020-05-30 02:15:09 +08:00
2020-05-28 18:06:23 +05:30
2020-06-15 15:36:42 +08:00
2019-03-15 01:59:15 -07:00
2018-07-03 09:20:44 +02:00
2020-01-28 20:45:01 -08:00
2018-08-13 11:25:07 -07:00
2020-05-30 02:07:25 +08:00
2019-10-07 15:27:39 -04:00
2018-12-03 15:57:38 -08:00
2020-06-15 15:39:53 +08:00
2020-05-30 02:18:38 +08:00
2018-06-21 12:33:05 +02:00
2018-06-25 11:30:10 -07:00
2018-10-17 15:35:29 -04:00
2018-06-07 16:56:28 -04:00
2018-11-13 11:09:00 -08:00
2019-03-06 15:59:21 +00:00
2018-08-11 02:05:53 -05:00
2018-08-30 12:56:40 +02:00
2020-05-28 18:06:23 +05:30
2019-03-21 16:25:27 -07:00
2020-05-28 18:06:23 +05:30