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

Issue 1271043002: bluetooth: Add histograms and logging for getPrimaryService() (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-connecta-gatt
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Add histograms and logging for getPrimaryService() Three new histograms: - GetPrimaryService.Services: Record UUID of the service passed - GetprimaryService.Time: Record time it took to discover all of the device's services - GetPrimaryService.Outcome: Record outcome of the getPrimaryService() call Log: - If a device is no longer present - If no services match the UUID passed BUG=499636 Committed: https://crrev.com/3b01950e75972628728065c2d88569a53648f30d Cr-Commit-Position: refs/heads/master@{#343147}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Removed timing histogram #

Total comments: 2

Patch Set 3 : Add mention of 31-bit hash #

Patch Set 4 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -0 lines) Patch
M content/browser/bluetooth/bluetooth_dispatcher_host.cc View 1 2 3 4 chunks +27 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 2 chunks +30 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 23 (9 generated)
ortuno
@jyasskin: PTAL
5 years, 4 months ago (2015-08-12 16:41:56 UTC) #4
Jeffrey Yasskin
https://codereview.chromium.org/1271043002/diff/40001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1271043002/diff/40001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode136 content/browser/bluetooth/bluetooth_dispatcher_host.cc:136: UMA_HISTOGRAM_MEDIUM_TIMES("Bluetooth.Web.GetPrimaryService.Time", duration); This is more the ServiceDiscoveryTime or the ...
5 years, 4 months ago (2015-08-12 17:00:04 UTC) #5
ortuno
https://codereview.chromium.org/1271043002/diff/40001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1271043002/diff/40001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode136 content/browser/bluetooth/bluetooth_dispatcher_host.cc:136: UMA_HISTOGRAM_MEDIUM_TIMES("Bluetooth.Web.GetPrimaryService.Time", duration); On 2015/08/12 at 17:00:04, Jeffrey Yasskin wrote: ...
5 years, 4 months ago (2015-08-12 18:18:05 UTC) #6
Jeffrey Yasskin
lgtm https://codereview.chromium.org/1271043002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1271043002/diff/60001/tools/metrics/histograms/histograms.xml#newcode2814 tools/metrics/histograms/histograms.xml:2814: + Records what GATT Services are used when ...
5 years, 4 months ago (2015-08-12 18:23:11 UTC) #7
ortuno
https://codereview.chromium.org/1271043002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1271043002/diff/60001/tools/metrics/histograms/histograms.xml#newcode2814 tools/metrics/histograms/histograms.xml:2814: + Records what GATT Services are used when connected. ...
5 years, 4 months ago (2015-08-12 18:27:24 UTC) #8
ortuno
@asvitkine: PTAL
5 years, 4 months ago (2015-08-12 18:27:39 UTC) #10
Alexei Svitkine (slow)
lgtm
5 years, 4 months ago (2015-08-12 18:28:45 UTC) #11
ortuno
@scheib: PTAL
5 years, 4 months ago (2015-08-12 18:32:28 UTC) #13
scheib
LGTM
5 years, 4 months ago (2015-08-12 21:10:51 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/1271043002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1271043002/100001
5 years, 4 months ago (2015-08-12 22:54: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-13 00:12:21 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1271043002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1271043002/100001
5 years, 4 months ago (2015-08-13 01:43:08 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:100001)
5 years, 4 months ago (2015-08-13 01:48:27 UTC) #22
commit-bot: I haz the power
5 years, 4 months ago (2015-08-13 01:49:04 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3b01950e75972628728065c2d88569a53648f30d
Cr-Commit-Position: refs/heads/master@{#343147}

Powered by Google App Engine
This is Rietveld 408576698