Log event time in UKM.
This event time is the elapsed time as measured from the moment an idle event is received (and we start logging features) to the moment when final event type is known (and we complete the event logging). When logging the value to UKM, we bucket it exponentially such that if the duration is 1. <1min: log its original value in sec. 2. <5min: bucket it to the nearest 10sec and log. 3. <10min: bucket it to the nearest 20sec and log. 4. >=10min: cap it at 10min (600sec). Change-Id: I114592b07864af3840e5bae4a8ccd3dcc326f735 Bug: 784232 Reviewed-on: https://chromium-review.googlesource.com/867793Reviewed-by:Steven Holte <holte@chromium.org> Reviewed-by:
Dan Erat <derat@chromium.org> Commit-Queue: Jia Meng <jiameng@chromium.org> Cr-Commit-Position: refs/heads/master@{#529977}
Showing
Please register or sign in to comment