ProcessHealthStats
class ProcessHealthStats
| kotlin.Any | |
| ↳ | android.os.health.ProcessHealthStats |
Keys for HealthStats returned from HealthStats.getStats(int) with the UidHealthStats.STATS_PROCESSES key.
Summary
| Constants | |
|---|---|
| static Int |
Key for a measurement of the number of ANRs that happened in this process. |
| static Int |
Key for a measurement of the number of crashes that happened in this process. |
| static Int |
Key for a measurement of the number of milliseconds this process spent with an activity in the foreground. |
| static Int |
Key for a measurement of the number of times this process was started for any reason. |
| static Int |
Key for a measurement of number of millseconds the CPU spent running in kernel space for this process. |
| static Int |
Key for a measurement of number of millseconds the CPU spent running in user space for this process. |
Constants
MEASUREMENT_ANR_COUNT
static val MEASUREMENT_ANR_COUNT: Int
Key for a measurement of the number of ANRs that happened in this process.
Value: 30005MEASUREMENT_CRASHES_COUNT
static val MEASUREMENT_CRASHES_COUNT: Int
Key for a measurement of the number of crashes that happened in this process.
Value: 30004MEASUREMENT_FOREGROUND_MS
static val MEASUREMENT_FOREGROUND_MS: Int
Key for a measurement of the number of milliseconds this process spent with an activity in the foreground.
Value: 30006MEASUREMENT_STARTS_COUNT
static val MEASUREMENT_STARTS_COUNT: Int
Key for a measurement of the number of times this process was started for any reason.
Value: 30003MEASUREMENT_SYSTEM_TIME_MS
static val MEASUREMENT_SYSTEM_TIME_MS: Int
Key for a measurement of number of millseconds the CPU spent running in kernel space for this process.
Value: 30002MEASUREMENT_USER_TIME_MS
static val MEASUREMENT_USER_TIME_MS: Int
Key for a measurement of number of millseconds the CPU spent running in user space for this process.
Value: 30001