Files
frameworks_base/core/java/android/os
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-02-22 08:38:52 +00:00
2020-08-05 17:40:02 +00:00
2021-01-12 16:15:52 -08:00
2021-05-11 04:16:45 +00:00
2020-05-18 08:57:31 +00:00
2020-12-10 22:53:07 +00:00