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

Unified Diff: base/process/process_metrics.h

Issue 2839733004: Fill in PlatformPrivateFootprint on Linux (Closed)
Patch Set: update for parent patch changes Created 3 years, 8 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
Index: base/process/process_metrics.h
diff --git a/base/process/process_metrics.h b/base/process/process_metrics.h
index 06d4ba915a56f822f0db23febfc41d0b77b6cc8d..97560631a305b135c0bfaf26b6191ac107edad50 100644
--- a/base/process/process_metrics.h
+++ b/base/process/process_metrics.h
@@ -223,6 +223,9 @@ class BASE_EXPORT ProcessMetrics {
// Returns the soft limit of file descriptors that can be opened by the
// process, or -1 on error.
int GetOpenFdSoftLimit() const;
+
+ uint64_t GetVmSwapBytes() const;
+ uint64_t GetRssAnonBytes() const;
#endif // defined(OS_LINUX)
private:

Powered by Google App Engine
This is Rietveld 408576698