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

Issue 371025: More memory stats code cleanup:... (Closed)

Created:
11 years, 1 month ago by sgk
Modified:
9 years, 5 months ago
CC:
chromium-reviews_googlegroups.com, John Grabowski, amit, pam+watch_chromium.org, brettw+cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

More memory stats code cleanup: Move GetSystemCommitCharge() into bsae\process_util*. Kill PrintChromeMemoryUsageInfo(), which was only used by reliability_tests.exe on Windows and whose stats are obsolete. Delete the now-unnecessary chrome\test\perf\mem_usage* files. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31423

Patch Set 1 #

Patch Set 2 : remove chrometab_perftests.vcproj #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 14

Patch Set 5 : '' #

Patch Set 6 : multiply uses by 1024 to keep stats consistent with old runs #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -232 lines) Patch
M base/process_util.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M base/process_util_linux.cc View 1 2 3 4 1 chunk +46 lines, -0 lines 1 comment Download
M base/process_util_mac.mm View 1 2 3 4 2 chunks +22 lines, -0 lines 0 comments Download
M base/process_util_win.cc View 1 2 3 4 1 chunk +39 lines, -0 lines 1 comment Download
M chrome/chrome.gyp View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/test/memory_test/memory_test.cc View 1 2 3 4 5 3 chunks +3 lines, -4 lines 0 comments Download
D chrome/test/perf/mem_usage.h View 1 2 3 1 chunk +0 lines, -17 lines 0 comments Download
D chrome/test/perf/mem_usage_linux.cc View 1 2 3 1 chunk +0 lines, -60 lines 0 comments Download
D chrome/test/perf/mem_usage_mac.cc View 1 2 3 1 chunk +0 lines, -37 lines 0 comments Download
D chrome/test/perf/mem_usage_win.cc View 1 2 3 1 chunk +0 lines, -97 lines 0 comments Download
M chrome/test/reliability/page_load_test.cc View 1 2 3 2 chunks +0 lines, -7 lines 0 comments Download
M chrome_frame/chrome_frame.gyp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome_frame/test/perf/chrome_frame_perftest.cc View 1 2 3 4 5 4 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sgk
Let me know if there's any reason GetSystemCommitCharge() really shouldn't be in base. I'd like ...
11 years, 1 month ago (2009-11-06 23:52:03 UTC) #1
sgk
Just noticed darin on vacation, +mbelshe as primary reviewer.
11 years, 1 month ago (2009-11-08 15:36:33 UTC) #2
Mike Belshe
lgtm with comments addressed. http://codereview.chromium.org/371025/diff/54/1047 File base/process_util.h (right): http://codereview.chromium.org/371025/diff/54/1047#newcode423 Line 423: // Returns the memory ...
11 years, 1 month ago (2009-11-09 03:11:39 UTC) #3
sgk
http://codereview.chromium.org/371025/diff/54/1047 File base/process_util.h (right): http://codereview.chromium.org/371025/diff/54/1047#newcode423 Line 423: // Returns the memory commited by the system. ...
11 years, 1 month ago (2009-11-09 05:30:18 UTC) #4
vandebo (ex-Chrome)
11 years, 1 month ago (2009-11-09 19:10:29 UTC) #5
http://codereview.chromium.org/371025/diff/83/95
File base/process_util_linux.cc (right):

http://codereview.chromium.org/371025/diff/83/95#newcode474
Line 474: LOG(ERROR) << "Failed to open /proc/meminfo.";
Should this be ERROR, or just WARNING?  It doesn't seem that we should kill the
browser if /proc isn't mounted.

http://codereview.chromium.org/371025/diff/83/96
File base/process_util_win.cc (right):

http://codereview.chromium.org/371025/diff/83/96#newcode835
Line 835: LOG(ERROR) << "Failed to fetch internal performance info.";
Error/Warning ?

Powered by Google App Engine
This is Rietveld 408576698