Skip to content
Commit e6cfb141 authored by Yao Chen's avatar Yao Chen
Browse files

Add a condition timer to track the duration of condition being true.

+ Plug it in ValueMetric as the frist step as we often need to normalize the values
  by the duration of condition being true.

  E.g., Coulomb counter drop / screen_on_and_on_battery_time

  Having a simple timer inside the metric will eliminate the need of creating
  another duration metric and joining them on server side.

Test: statsd_test
Fix: 130048020

Change-Id: Ie377dc6de917176ab07843e0dfd8506ed1d5db75
parent 8d3cb6b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment