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

Unified Diff: base/process/process_metrics.h

Issue 2782083003: Clean up some Mac memory code. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/process/process_metrics_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/process_metrics.h
diff --git a/base/process/process_metrics.h b/base/process/process_metrics.h
index 33cb64e24430f4bacf29d7a1ea8d3f873476f6d4..a68ef49113c9c2f4dbfe367986f5fce986b4e49e 100644
--- a/base/process/process_metrics.h
+++ b/base/process/process_metrics.h
@@ -63,8 +63,8 @@ struct IoCounters {
// shareable: 0
// swapped Pages swapped out to zram.
//
-// On OS X: TODO(thakis): Revise.
-// priv: Memory.
+// On macOS:
+// priv: Resident size (RSS) including shared memory.
Alexei Svitkine (slow) 2017/03/29 20:12:26 Note: based on what the GetCommittedAndWorkingSetK
erikchen 2017/03/29 20:25:14 GetCommittedAndWorkingSetKBytes returns pmap->stat
Alexei Svitkine (slow) 2017/03/29 21:02:39 I see - should I just update the TODO to you and r
erikchen 2017/03/29 21:10:38 You're welcome to add a warning and a more accurat
Alexei Svitkine (slow) 2017/03/29 21:16:54 Done. PTAL.
// shared: 0
// shareable: 0
//
« no previous file with comments | « no previous file | base/process/process_metrics_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698