# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Constants | Inherited Methods

# PidHealthStats

`public final class PidHealthStats`
`extends Object` ``

java.lang.Object
↳ | android.os.health.PidHealthStats

Keys for `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.

## Summary

### Constants
`int` | `MEASUREMENT_WAKE_NESTING_COUNT` Key for a measurement of the current nesting depth of wakelocks for this process.
`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.
`int` | `MEASUREMENT_WAKE_SUM_MS` Key for a measurement of the total number of milleseconds that this process has held a wake lock.

### Inherited methods
From class `java.lang.Object`
`Object` | `clone()` Creates and returns a copy of this object.
`boolean` | `equals(Object obj)` Indicates whether some other object is "equal to" this one.
`void` | `finalize()` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
`final Class<?>` | `getClass()` Returns the runtime class of this `Object`.
`int` | `hashCode()` Returns a hash code value for the object.
`final void` | `notify()` Wakes up a single thread that is waiting on this object's monitor.
`final void` | `notifyAll()` Wakes up all threads that are waiting on this object's monitor.
`String` | `toString()` Returns a string representation of the object.
`final void` | `wait(long timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.

## Constants

### MEASUREMENT_WAKE_NESTING_COUNT

    public static final int MEASUREMENT_WAKE_NESTING_COUNT

Key for a measurement of the current nesting depth of wakelocks for this process. That is to say, the number of times a nested wakelock has been started but not stopped. A high number here indicates an improperly paired wakelock acquire/release combination.

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.

Constant Value: 20001 (0x00004e21)

### MEASUREMENT_WAKE_START_MS

    public static final 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.

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.

Constant Value: 20003 (0x00004e23)

### MEASUREMENT_WAKE_SUM_MS

    public static final int MEASUREMENT_WAKE_SUM_MS

Key for a measurement of the total number of milleseconds that this process has held a wake lock.

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.

Constant Value: 20002 (0x00004e22)

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*