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

Issue 2832933003: Add the UMA metric Memory.Gpu.PhysicalFootprint.MacOS (Closed)

Created:
3 years, 8 months ago by erikchen
Modified:
3 years, 8 months ago
CC:
chromium-reviews, danakj+watch_chromium.org, mac-reviews_chromium.org, asvitkine+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add the UMA metric Memory.Gpu.PhysicalFootprint.MacOS This is a temporary metric added to debug Issue 713854. The existing metrics don't measure OpenGL memory usage. BUG=713854 Review-Url: https://codereview.chromium.org/2832933003 Cr-Commit-Position: refs/heads/master@{#466405} Committed: https://chromium.googlesource.com/chromium/src/+/e6da7858a3ffa600b6937f965dca0d685283cd68

Patch Set 1 #

Patch Set 2 : clean up #

Total comments: 3

Patch Set 3 : Comments from mark. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -1 line) Patch
M base/process/process_metrics.h View 1 chunk +6 lines, -0 lines 0 comments Download
M base/process/process_metrics_mac.cc View 1 2 3 chunks +47 lines, -0 lines 0 comments Download
M chrome/browser/memory_details.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/memory_details.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/memory_details_mac.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/metrics/metrics_memory_details.cc View 1 2 chunks +12 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
erikchen
mark: Please review base/ thakis: Please review chrome/ asvitkine: Please review histograms.xml
3 years, 8 months ago (2017-04-21 02:17:57 UTC) #6
Mark Mentovai
base LGTM otherwise https://codereview.chromium.org/2832933003/diff/20001/base/process/process_metrics_mac.cc File base/process/process_metrics_mac.cc (right): https://codereview.chromium.org/2832933003/diff/20001/base/process/process_metrics_mac.cc#newcode28 base/process/process_metrics_mac.cc:28: MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_11 Whether task_vm_info is ...
3 years, 8 months ago (2017-04-21 03:30:00 UTC) #9
Nico
lgtm
3 years, 8 months ago (2017-04-21 14:29:26 UTC) #10
Alexei Svitkine (slow)
lgtm
3 years, 8 months ago (2017-04-21 15:03:33 UTC) #11
erikchen
https://codereview.chromium.org/2832933003/diff/20001/base/process/process_metrics_mac.cc File base/process/process_metrics_mac.cc (right): https://codereview.chromium.org/2832933003/diff/20001/base/process/process_metrics_mac.cc#newcode28 base/process/process_metrics_mac.cc:28: MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_11 On 2017/04/21 03:30:00, Mark Mentovai wrote: ...
3 years, 8 months ago (2017-04-21 17:35:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2832933003/40001
3 years, 8 months ago (2017-04-21 17:35:56 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/e6da7858a3ffa600b6937f965dca0d685283cd68
3 years, 8 months ago (2017-04-21 19:07:13 UTC) #18
zino
https://codereview.chromium.org/2832933003/diff/20001/base/process/process_metrics_mac.cc File base/process/process_metrics_mac.cc (right): https://codereview.chromium.org/2832933003/diff/20001/base/process/process_metrics_mac.cc#newcode56 base/process/process_metrics_mac.cc:56: mach_msg_type_number_t ChromeTaskVMInfoCount = TASK_VM_INFO_REV1_COUNT; Hi This line is breaking ...
3 years, 8 months ago (2017-04-23 20:35:45 UTC) #20
erikchen
3 years, 8 months ago (2017-04-24 17:38:06 UTC) #21
Message was sent while issue was closed.
On 2017/04/23 20:35:45, zino wrote:
>
https://codereview.chromium.org/2832933003/diff/20001/base/process/process_me...
> File base/process/process_metrics_mac.cc (right):
> 
>
https://codereview.chromium.org/2832933003/diff/20001/base/process/process_me...
> base/process/process_metrics_mac.cc:56: mach_msg_type_number_t
> ChromeTaskVMInfoCount = TASK_VM_INFO_REV1_COUNT;
> Hi
> 
> This line is breaking build on 11.x.
> I'm not sure but the TASK_VM_INFO_REV1_COUNT is not defined in 11.x.
>
(https://github.com/practicalswift/osx/blob/c72157565335b24d683dc7316873513ec3...)

CL with fix: https://codereview.chromium.org/2843463003/

Powered by Google App Engine
This is Rietveld 408576698