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

Issue 1828533002: Enable UMA histogram logger for low memor kill events in ArcMetricsService. (Closed)

Created:
4 years, 9 months ago by cylee1
Modified:
4 years, 8 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

1. Enable UMA histogram logger for low memory kill events in ArcMetricsService. - Arc.LowMemoryKiller.Count: cumulative count of #kills. - Arc.LowMemoryKiller.FreedSize: Memory freed by each kill. - Arc.LowMemoryKiller.TimeDelta: Elapsed time since last kill. 2. renamed UMA histogram ArcRuntime.* => Arc.* 3. Move ArcLowMemoryMonitor to components/ for better DEPS management. BUG=597899 TEST="Tested on minnie" Committed: https://crrev.com/b238d39b1f0e3dd475a91f5ac04534a084e12282 Cr-Commit-Position: refs/heads/master@{#383482}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Total comments: 12

Patch Set 5 : #

Patch Set 6 : fix GN build #

Patch Set 7 : #

Patch Set 8 : rebase #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : Fix NaClBrowserTest #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -172 lines) Patch
D chrome/browser/chromeos/arc/arc_low_memory_killer_monitor.h View 1 chunk +0 lines, -44 lines 0 comments Download
D chrome/browser/chromeos/arc/arc_low_memory_killer_monitor.cc View 1 chunk +0 lines, -113 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/test/nacl/nacl_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -5 lines 2 comments Download
M components/arc.gypi View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M components/arc/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
M components/arc/DEPS View 1 2 3 4 7 8 9 1 chunk +1 line, -0 lines 2 comments Download
A + components/arc/metrics/arc_low_memory_killer_monitor.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A + components/arc/metrics/arc_low_memory_killer_monitor.cc View 1 2 3 4 3 chunks +11 lines, -4 lines 2 comments Download
M components/arc/metrics/arc_metrics_service.h View 1 2 3 4 3 chunks +4 lines, -1 line 0 comments Download
M components/arc/metrics/arc_metrics_service.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 2 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (13 generated)
cylee1
4 years, 9 months ago (2016-03-22 21:54:03 UTC) #2
rkaplow
https://codereview.chromium.org/1828533002/diff/30001/components/arc/metrics/arc_low_memory_killer_monitor.cc File components/arc/metrics/arc_low_memory_killer_monitor.cc (right): https://codereview.chromium.org/1828533002/diff/30001/components/arc/metrics/arc_low_memory_killer_monitor.cc#newcode103 components/arc/metrics/arc_low_memory_killer_monitor.cc:103: UMA_HISTOGRAM_LOWMEMORYKILL_TIMES( are you deleting the definition of this? https://codereview.chromium.org/1828533002/diff/30001/tools/metrics/histograms/histograms.xml ...
4 years, 9 months ago (2016-03-22 21:57:20 UTC) #3
cylee1
Ping hidehiko, Not sure how should I handle the DEPS change ? Thanks. https://codereview.chromium.org/1828533002/diff/30001/components/arc/metrics/arc_low_memory_killer_monitor.cc File ...
4 years, 9 months ago (2016-03-23 21:46:59 UTC) #4
cylee1
+reviewers to speed up
4 years, 9 months ago (2016-03-24 06:53:48 UTC) #6
hidehiko
Could you run trybots? https://codereview.chromium.org/1828533002/diff/50001/components/arc/DEPS File components/arc/DEPS (right): https://codereview.chromium.org/1828533002/diff/50001/components/arc/DEPS#newcode10 components/arc/DEPS:10: "+third_party/re2/src/re2/re2.h" "+third_party/re2" is fine. https://codereview.chromium.org/1828533002/diff/50001/components/arc/metrics/arc_low_memory_killer_monitor.cc ...
4 years, 9 months ago (2016-03-24 08:11:21 UTC) #7
cylee1
Thanks for reviewing. + tfarina@ for DEPS. https://codereview.chromium.org/1828533002/diff/50001/components/arc/DEPS File components/arc/DEPS (right): https://codereview.chromium.org/1828533002/diff/50001/components/arc/DEPS#newcode10 components/arc/DEPS:10: "+third_party/re2/src/re2/re2.h" On ...
4 years, 9 months ago (2016-03-24 14:36:07 UTC) #10
cylee1
https://codereview.chromium.org/1828533002/diff/50001/components/arc/metrics/arc_metrics_service.h File components/arc/metrics/arc_metrics_service.h (right): https://codereview.chromium.org/1828533002/diff/50001/components/arc/metrics/arc_metrics_service.h#newcode51 components/arc/metrics/arc_metrics_service.h:51: #endif // COMPONENTS_ARC_METRICS_ARC_METRICS_SERVICE_H On 2016/03/24 14:36:06, cylee1 wrote: > ...
4 years, 9 months ago (2016-03-24 14:39:22 UTC) #11
rkaplow
lgtm
4 years, 9 months ago (2016-03-24 15:04:59 UTC) #12
hidehiko
Again, could you run trybots? I'd like to see it's green before my l-g-t-m. Also, ...
4 years, 9 months ago (2016-03-24 16:52:25 UTC) #13
cylee1
It's still failing https://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/161980/steps/generate_build_files%20%28with%20patch%29/logs/stdio The include seems to be illegal, please suggest how to fix ...
4 years, 9 months ago (2016-03-24 22:31:26 UTC) #15
cylee1
https://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/186162 Also some browser test fails, but I don't understand the cause for 100%. I ...
4 years, 9 months ago (2016-03-24 23:52:21 UTC) #16
cylee1
+bradnelson@ HI bradnelson, I have some problem regarding the test NaClBrowserTest_SysconfNprocessorsOnln. This CL initiates a ...
4 years, 9 months ago (2016-03-25 00:05:15 UTC) #17
hidehiko
On 2016/03/25 00:05:15, cylee1 wrote: > +bradnelson@ > > HI bradnelson, > I have some ...
4 years, 9 months ago (2016-03-25 04:51:57 UTC) #18
cylee1
> As for gn error, I think it is caused by missing deps in BUILD.gn? ...
4 years, 9 months ago (2016-03-25 05:18:10 UTC) #19
cylee1
4 years, 9 months ago (2016-03-25 05:18:51 UTC) #21
cylee
4 years, 9 months ago (2016-03-25 20:12:27 UTC) #24
Mark Seaborn
LGTM for the fflush() changes in chrome/test/nacl/nacl_browsertest.cc https://codereview.chromium.org/1828533002/diff/190001/chrome/test/nacl/nacl_browsertest.cc File chrome/test/nacl/nacl_browsertest.cc (right): https://codereview.chromium.org/1828533002/diff/190001/chrome/test/nacl/nacl_browsertest.cc#newcode195 chrome/test/nacl/nacl_browsertest.cc:195: // crbug.com/597899 ...
4 years, 9 months ago (2016-03-25 21:26:25 UTC) #26
cylee1
Thanks great. Hi Hidehiko, Now the bots are green, PTAL ! https://codereview.chromium.org/1828533002/diff/190001/chrome/test/nacl/nacl_browsertest.cc File chrome/test/nacl/nacl_browsertest.cc (right): ...
4 years, 9 months ago (2016-03-25 21:34:03 UTC) #27
tfarina
lgtm for the re2 dependency, though it should have been added to the DEPS file ...
4 years, 9 months ago (2016-03-27 08:03:59 UTC) #28
hidehiko
LGTM for arc. https://codereview.chromium.org/1828533002/diff/190001/components/arc/metrics/arc_low_memory_killer_monitor.cc File components/arc/metrics/arc_low_memory_killer_monitor.cc (right): https://codereview.chromium.org/1828533002/diff/190001/components/arc/metrics/arc_low_memory_killer_monitor.cc#newcode23 components/arc/metrics/arc_low_memory_killer_monitor.cc:23: #include "third_party/re2/src/re2/re2.h" On 2016/03/27 08:03:59, tfarina ...
4 years, 8 months ago (2016-03-28 04:18:43 UTC) #29
cylee1
Thanks ! going to submit the CL https://codereview.chromium.org/1828533002/diff/190001/components/arc/DEPS File components/arc/DEPS (right): https://codereview.chromium.org/1828533002/diff/190001/components/arc/DEPS#newcode10 components/arc/DEPS:10: "+third_party/re2", On ...
4 years, 8 months ago (2016-03-28 05:24:23 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828533002/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828533002/190001
4 years, 8 months ago (2016-03-28 05:24:49 UTC) #33
commit-bot: I haz the power
Committed patchset #11 (id:190001)
4 years, 8 months ago (2016-03-28 06:34:08 UTC) #35
commit-bot: I haz the power
4 years, 8 months ago (2016-03-28 06:36:07 UTC) #37
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/b238d39b1f0e3dd475a91f5ac04534a084e12282
Cr-Commit-Position: refs/heads/master@{#383482}

Powered by Google App Engine
This is Rietveld 408576698