Connor O'Brien
525bbc854a
ANDROID: cpufreq: times: optimize proc files
...
The majority of the time spent reading /proc/uid_time_in_state is due
to seq_printf calls. Use the faster seq_put_* variations instead.
Also skip empty hash buckets in uid_seq_next for a further performance
improvement.
Bug: 111216804
Bug: 127641090
Test: Read /proc/uid_time_in_state and confirm output is sane
Test: Compare read times to confirm performance improvement
Change-Id: If8783b498ed73d2ddb186a49438af41ac5ab9957
Signed-off-by: Connor O'Brien <connoro@google.com >
2019-03-06 16:02:12 +00:00
..
2019-02-27 10:08:54 +01:00
2019-03-04 10:30:23 -08:00
2019-02-15 08:10:10 +01:00
2019-02-27 10:08:57 +01:00
2019-01-13 09:51:03 +01:00
2019-02-12 20:37:21 +01:00
2019-02-12 20:37:21 +01:00
2019-02-12 19:47:13 +01:00
2018-08-28 09:58:03 -07:00
2019-02-12 19:47:18 +01:00
2019-01-31 08:29:40 +01:00
2019-03-05 17:58:46 +01:00
2019-01-26 09:32:42 +01:00
2019-03-06 16:02:12 +00:00
2019-02-12 20:37:21 +01:00
2019-02-12 19:47:17 +01:00
2019-01-13 09:51:04 +01:00
2019-02-12 19:47:24 +01:00
2018-11-13 11:08:44 -08:00
2018-10-26 11:54:46 +01:00
2019-02-20 10:37:09 +01:00
2019-02-12 19:46:59 +01:00
2018-12-17 09:24:35 +01:00
2018-12-13 09:16:22 +01:00
2019-02-27 10:08:49 +01:00
2019-03-05 17:58:53 +01:00
2019-02-12 19:47:24 +01:00
2019-01-31 08:14:36 +01:00
2019-02-27 10:08:57 +01:00
2019-01-13 09:51:10 +01:00
2019-02-12 19:47:11 +01:00
2019-01-31 08:14:42 +01:00
2019-02-15 08:10:10 +01:00
2019-02-27 10:09:00 +01:00
2019-02-20 10:25:47 +01:00
2019-02-12 19:47:07 +01:00
2019-03-05 17:58:48 +01:00
2019-02-27 10:08:58 +01:00
2019-02-27 10:08:57 +01:00
2019-02-12 19:47:08 +01:00
2018-08-24 14:42:42 +02:00
2018-11-13 11:08:18 -08:00
2019-02-20 10:37:09 +01:00
2019-02-12 19:47:07 +01:00
2018-09-06 10:04:07 -07:00
2019-02-12 19:47:10 +01:00
2019-02-27 10:08:52 +01:00
2019-03-06 15:57:54 +00:00
2019-03-05 18:07:53 +01:00
2019-02-15 08:10:10 +01:00
2018-10-12 17:36:39 +02:00
2019-03-05 18:07:53 +01:00
2018-11-13 11:08:48 -08:00
2019-01-13 09:51:04 +01:00
2019-03-05 17:58:51 +01:00
2018-11-13 11:08:35 -08:00
2019-02-07 08:40:17 +01:00
2019-02-12 20:37:21 +01:00
2019-02-23 09:07:26 +01:00
2018-11-13 11:08:17 -08:00
2019-02-12 19:47:03 +01:00
2019-03-05 17:58:48 +01:00
2019-02-27 10:09:03 +01:00
2019-02-12 19:47:08 +01:00
2019-01-13 09:51:10 +01:00
2019-02-12 19:47:01 +01:00
2018-09-20 09:04:51 -07:00
2018-11-13 11:08:52 -08:00
2018-08-25 14:12:36 -07:00
2018-11-13 11:08:55 -08:00
2019-01-09 17:38:48 +01:00
2019-02-20 10:25:48 +01:00
2018-12-21 14:15:17 +01:00
2019-03-05 17:58:50 +01:00
2018-12-19 19:19:49 +01:00
2019-02-12 19:47:03 +01:00
2018-08-27 09:49:48 +05:30
2019-01-09 17:38:49 +01:00
2019-03-05 17:58:50 +01:00
2019-02-27 10:08:55 +01:00
2018-11-13 11:08:51 -08:00
2019-02-12 19:47:08 +01:00
2019-03-05 18:07:53 +01:00
2018-12-17 09:24:36 +01:00
2019-03-05 17:58:49 +01:00
2018-11-27 16:13:09 +01:00
2019-03-05 18:07:53 +01:00
2019-01-16 22:04:34 +01:00
2019-02-27 10:08:56 +01:00
2019-02-27 10:09:03 +01:00
2019-02-12 19:46:59 +01:00
2018-08-24 08:45:19 -07:00
2018-11-13 11:08:48 -08:00
2019-02-27 10:08:52 +01:00
2019-02-27 10:08:56 +01:00
2018-10-26 11:54:46 +01:00
2018-10-26 11:54:46 +01:00