public final class PidHealthStats extends Object
HealthStats
returned from
HealthStats.getStats(int)
with the
UidHealthStats.STATS_PIDS
key.
The values coming from PidHealthStats are a little bit different from the other HealthStats values. These values are not aggregate or historical values, but instead live values from when the snapshot is taken. These tend to be more useful in debugging rogue processes than in gathering aggregate metrics across the fleet of devices.
Modifier and Type | Field and Description |
---|---|
static HealthKeys.Constants |
CONSTANTS |
static int |
MEASUREMENT_WAKE_NESTING_COUNT
Key for a measurement of the current nesting depth of wakelocks for this process.
|
static int |
MEASUREMENT_WAKE_START_MS
Key for a measurement of the time in the
SystemClock.elapsedRealtime()
timebase that a wakelock was first acquired in this process. |
static int |
MEASUREMENT_WAKE_SUM_MS
Key for a measurement of the total number of milleseconds that this process
has held a wake lock.
|
public static final int MEASUREMENT_WAKE_NESTING_COUNT
More details on the individual wake locks is available
by getting the UidHealthStats.TIMERS_WAKELOCKS_FULL
,
UidHealthStats.TIMERS_WAKELOCKS_PARTIAL
,
UidHealthStats.TIMERS_WAKELOCKS_WINDOW
and UidHealthStats.TIMERS_WAKELOCKS_DRAW
keys.
public static final int MEASUREMENT_WAKE_SUM_MS
More details on the individual wake locks is available
by getting the UidHealthStats.TIMERS_WAKELOCKS_FULL
,
UidHealthStats.TIMERS_WAKELOCKS_PARTIAL
,
UidHealthStats.TIMERS_WAKELOCKS_WINDOW
and UidHealthStats.TIMERS_WAKELOCKS_DRAW
keys.
public static final int MEASUREMENT_WAKE_START_MS
SystemClock.elapsedRealtime()
timebase that a wakelock was first acquired in this process.
More details on the individual wake locks is available
by getting the UidHealthStats.TIMERS_WAKELOCKS_FULL
,
UidHealthStats.TIMERS_WAKELOCKS_PARTIAL
,
UidHealthStats.TIMERS_WAKELOCKS_WINDOW
and UidHealthStats.TIMERS_WAKELOCKS_DRAW
keys.
public static final HealthKeys.Constants CONSTANTS