Dmitri Plotnikov
dc3a78354e
Address race condition in procstate time tracking
...
The issue occurs when the application proc state changes
rapidly, e.g. from FOREGROUND to BACKGROUND to CACHED.
The original code would sometimes attribute the time slice
to the wrong proc state.
Bug: 192550308
Test: (on cuttlefish) atest --rerun-until-failure 300 FrameworksCoreTests:com.android.internal.os.BstatsCpuTimesValidationTest -- --abi x86_64
Change-Id: Ic22bbfa3aae701014fc016ec9e2d32b1c528d462
2021-07-01 22:04:28 -07:00
..
2021-03-16 18:00:19 -07:00
2020-12-08 08:36:27 -07:00
2021-01-13 02:35:28 +00:00
2021-06-08 17:41:47 -07:00
2021-04-14 20:41:56 +01:00
2021-02-22 08:38:52 +00:00
2021-03-18 18:06:45 +00:00
2021-06-16 22:21:05 -07:00
2020-11-04 09:45:53 +00:00
2021-05-13 11:40:26 -07:00
2020-11-04 09:45:53 +00:00
2021-03-12 09:58:32 +00:00
2021-03-02 11:12:49 -08:00
2021-07-01 22:04:28 -07:00
2021-04-12 05:15:21 +00:00
2020-12-03 10:42:41 -08:00
2021-06-17 17:27:00 -07:00
2020-12-16 13:07:04 -08:00
2021-06-17 05:24:37 +00:00
2021-03-26 03:58:18 +00:00
2021-05-25 17:37:42 +00:00
2020-11-04 09:45:53 +00:00
2021-02-25 23:16:20 +00:00
2021-06-01 06:48:51 -06:00
2021-01-28 11:20:04 +00:00
2021-03-18 14:17:28 -06:00
2021-04-12 16:34:54 +00:00
2021-04-12 16:34:54 +00:00
2021-04-14 12:00:56 -07:00
2021-05-11 10:48:12 +00:00
2021-01-12 13:51:28 -07:00
2021-05-27 15:57:02 +00:00
2021-06-25 11:14:53 -07:00
2020-11-04 09:45:53 +00:00
2021-05-04 12:44:31 +00:00
2020-12-15 19:10:01 +00:00
2020-11-04 09:45:53 +00:00
2021-05-25 08:20:59 -07:00
2021-05-25 08:15:41 -07:00
2020-11-04 09:45:53 +00:00
2020-11-11 16:17:20 +00:00
2021-04-10 10:21:17 -07:00
2021-04-10 10:21:17 -07:00
2021-03-02 09:27:50 +00:00
2021-02-19 15:36:15 -08:00
2021-03-25 13:22:20 -07:00
2021-05-04 15:07:56 -04:00
2021-02-09 10:11:41 +08:00
2021-06-07 14:33:35 -07:00
2021-04-13 13:04:05 +00:00
2020-11-09 14:41:20 +00:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2021-04-13 13:04:05 +00:00
2021-05-14 16:36:47 +00:00
2021-05-21 09:25:47 -07:00
2021-06-15 08:45:44 -07:00
2021-05-25 17:37:42 +00:00
2021-04-14 12:00:56 -07:00
2020-12-29 16:03:08 +00:00
2020-11-04 09:45:53 +00:00
2021-05-18 17:17:27 +00:00
2021-01-12 16:15:52 -08:00
2020-11-04 09:45:53 +00:00
2021-04-10 10:21:17 -07:00
2021-01-28 11:20:04 +00:00
2021-06-16 22:21:05 -07:00
2021-05-27 09:22:05 -07:00
2021-01-22 18:24:39 -08:00
2021-05-11 04:16:45 +00:00
2021-05-04 15:07:56 -04:00
2021-03-17 07:55:59 +00:00
2020-12-10 18:57:17 -08:00
2021-01-28 22:53:23 +00:00
2021-04-21 00:28:53 +00:00
2020-10-29 15:52:51 +00:00
2021-03-05 02:49:58 +00:00
2020-11-19 03:16:03 +00:00
2020-12-10 22:53:07 +00:00
2021-04-07 21:58:42 +08:00
2021-03-01 08:08:35 +00:00
2021-02-09 10:11:41 +08:00
2020-11-09 16:32:33 +00:00
2020-11-04 09:45:53 +00:00
2021-06-24 12:33:40 +01:00
2021-06-17 15:30:11 +01:00
2021-06-14 18:56:55 -07:00
2021-02-12 20:27:59 +00:00
2020-12-30 19:46:57 +00:00
2021-06-16 22:21:05 -07:00
2020-11-04 09:45:53 +00:00
2021-06-16 22:21:05 -07:00
2021-04-13 13:06:43 +00:00
2021-06-18 19:05:49 +00:00
2021-06-17 15:30:11 +01:00
2021-03-18 11:03:45 +00:00
2021-06-02 12:26:35 +01:00
2021-06-22 12:43:35 +01:00
2020-12-04 16:26:02 +00:00
2021-06-22 15:36:23 +01:00
2021-05-26 15:11:11 +01:00
2021-05-04 12:53:52 +00:00
2020-11-05 14:53:45 -08:00
2021-03-03 14:23:32 -08:00