OSDN Git Service

osi: add native wakelocks to metrics
authorMarie Janssen <jamuraa@google.com>
Fri, 29 Jan 2016 21:37:12 +0000 (13:37 -0800)
committerMarie Janssen <jamuraa@google.com>
Thu, 4 Feb 2016 20:09:13 +0000 (20:09 +0000)
commit1910a80f533ece8669e5f62175422365f8abf270
tree47e3ec7116a81d9edf43ab97c1b52e11eb25d942
parentf94e67c2d96d25f221e0503f334f4a0a277bc68c
osi: add native wakelocks to metrics

Metrics were only being counted for callout wakelocks.
Move metrics collection to the wrapping functions to account more
centrally.

Change-Id: I772198c3ae05bcb83965420931ddee87b1996b6b
osi/src/wakelock.c