Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Issue 1270603010: bluetooth: Add histograms and logging for connectGATT (Closed)

Created:
5 years, 4 months ago by ortuno
Modified:
5 years, 4 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@bluetooth-uma-requestDevice
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Add histograms and logging for connectGATT Three new histograms: - ConnectGATT.Outcome: result of connectGATT() call. - ConnectGATT.TimeFailed: time it takes to fail to connect to a device - ConnectGATT.TimeSuccess: time it takes to successfully connect to a device BUG=499636 Committed: https://crrev.com/1933ac776354301e9657637fad485be3deff01b5 Cr-Commit-Position: refs/heads/master@{#343142}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Address jyasskin's comments #

Patch Set 3 : Merge with ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -2 lines) Patch
M content/browser/bluetooth/bluetooth_dispatcher_host.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/bluetooth/bluetooth_dispatcher_host.cc View 1 2 7 chunks +50 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 chunks +45 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 23 (11 generated)
ortuno
@jyasskin: PTAL
5 years, 4 months ago (2015-08-11 23:34:05 UTC) #6
Jeffrey Yasskin
lgtm with the changes below. https://codereview.chromium.org/1270603010/diff/80001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1270603010/diff/80001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode138 content/browser/bluetooth/bluetooth_dispatcher_host.cc:138: UMA_HISTOGRAM_TIMES("Bluetooth.Web.ConnectGATT.TimeSuccess", duration); I'm a ...
5 years, 4 months ago (2015-08-12 00:35:45 UTC) #7
ortuno
Thanks! https://codereview.chromium.org/1270603010/diff/80001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1270603010/diff/80001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode138 content/browser/bluetooth/bluetooth_dispatcher_host.cc:138: UMA_HISTOGRAM_TIMES("Bluetooth.Web.ConnectGATT.TimeSuccess", duration); On 2015/08/12 at 00:35:45, Jeffrey Yasskin ...
5 years, 4 months ago (2015-08-12 16:34:04 UTC) #8
ortuno
@asvitkine: PTAL
5 years, 4 months ago (2015-08-12 16:34:20 UTC) #10
Alexei Svitkine (slow)
lgtm
5 years, 4 months ago (2015-08-12 17:13:28 UTC) #11
ortuno
@scheib: PTAL
5 years, 4 months ago (2015-08-12 17:13:52 UTC) #13
scheib
LGTM
5 years, 4 months ago (2015-08-12 21:09:17 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1270603010/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1270603010/120001
5 years, 4 months ago (2015-08-12 22:28:25 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-12 23:43:42 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1270603010/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1270603010/120001
5 years, 4 months ago (2015-08-13 01:22:50 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:120001)
5 years, 4 months ago (2015-08-13 01:26:59 UTC) #22
commit-bot: I haz the power
5 years, 4 months ago (2015-08-13 01:27:39 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1933ac776354301e9657637fad485be3deff01b5
Cr-Commit-Position: refs/heads/master@{#343142}

Powered by Google App Engine
This is Rietveld 408576698