|
Mac: Implement about:memory.
This implements about:memory on Mac. It calls /bin/ps to obtain information
about processes (this is Apple's officially supported "API"). Unfortunately, ps
provides fairly minimal information (rss and vsize); top is better, but not a
stable API -- it has changed greatly between Mac OS 10.5 and 10.6, and moreover
the 10.6 version is more limited in its output formatting.
BUG= 9653
TEST=Go to about:memory under a variety of conditions (with a variety of browsers loaded).
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31168
Total comments: 56
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1405 lines, -51 lines) |
Patch |
|
M |
base/mac_util.h
|
View
|
2
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/mac_util.mm
|
View
|
2
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/mac_util_unittest.mm
|
View
|
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/process_util.h
|
View
|
1
2
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/process_util_posix.cc
|
View
|
1
2
|
4 chunks |
+49 lines, -9 lines |
0 comments
|
Download
|
|
M |
base/process_util_unittest.cc
|
View
|
1
2
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/browser_resources.grd
|
View
|
1
2
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/memory_details.h
|
View
|
1
2
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/memory_details.cc
|
View
|
1
2
|
2 chunks |
+30 lines, -25 lines |
0 comments
|
Download
|
|
A |
chrome/browser/memory_details_mac.cc
|
View
|
1
2
|
1 chunk |
+226 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/process_info_snapshot.h
|
View
|
|
1 chunk |
+106 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/process_info_snapshot_mac.cc
|
View
|
1
|
1 chunk |
+156 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/process_info_snapshot_mac_unittest.cc
|
View
|
1
|
1 chunk |
+85 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/resources/about_memory_mac.html
|
View
|
1
2
|
1 chunk |
+577 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome.gyp
|
View
|
1
2
3
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/temp_scaffolding_stubs.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|