Chromium Code Reviews| Index: base/process/process_metrics.h |
| diff --git a/base/process/process_metrics.h b/base/process/process_metrics.h |
| index d9c9952201b816f8c1a28691a7e96add983378c3..aa444ddac139710df1e8605cebdd811e58d278c2 100644 |
| --- a/base/process/process_metrics.h |
| +++ b/base/process/process_metrics.h |
| @@ -145,6 +145,8 @@ class BASE_EXPORT ProcessMetrics { |
| // usage in bytes, as per definition of WorkingSetBytes. Note that this |
| // function is somewhat expensive on Windows (a few ms per process). |
| bool GetWorkingSetKBytes(WorkingSetKBytes* ws_usage) const; |
| + // Computes pss (proportional set size) of a process. |
|
brucedawson
2016/12/05 19:22:02
The comment about cost from a few lines above shou
chengx
2016/12/06 02:51:38
Done.
|
| + bool GetProportionalSetSizeBytes(uint64_t* pss_bytes) const; |
| #if defined(OS_MACOSX) |
| // Fills both CommitedKBytes and WorkingSetKBytes in a single operation. This |