Chromium Code Reviews| Index: base/process/process_metrics.h |
| diff --git a/base/process/process_metrics.h b/base/process/process_metrics.h |
| index 2652bef85e519bb7d4bb6296846db6c4b7e8cbfe..e756781b80e9e4a37a10ac3b6345477b6154638a 100644 |
| --- a/base/process/process_metrics.h |
| +++ b/base/process/process_metrics.h |
| @@ -168,6 +168,10 @@ class BASE_EXPORT ProcessMetrics { |
| // measurement was unavailable. |
| size_t GetPhysicalFootprint() const; |
| + // Returns the sum of internal and compressed memory. This measures anonymous, |
| + // non-discardable memory, excluding IOKit. |
| + size_t GetInternalAndCompressed() const; |
|
Primiano Tucci (use gerrit)
2017/04/25 12:43:35
Not an owner here but I guess an "unit" in the nam
|
| + |
| // Returns private, shared, and total resident bytes. |locked_bytes| refers to |
| // bytes that must stay resident. |locked_bytes| only counts bytes locked by |
| // this task, not bytes locked by the kernel. |