summaryrefslogtreecommitdiffstats
path: root/base/process_util.h
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-11 12:45:45 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-11 12:45:45 +0000
commit796da7c88c4a3e801fc3ed5eb292470f029db9a4 (patch)
tree69b05c6c0e9810f7548f8c53dfe6a185354c1021 /base/process_util.h
parent6233deeca757293ccf93110e470e7f42520f6fd9 (diff)
downloadchromium_src-796da7c88c4a3e801fc3ed5eb292470f029db9a4.zip
chromium_src-796da7c88c4a3e801fc3ed5eb292470f029db9a4.tar.gz
chromium_src-796da7c88c4a3e801fc3ed5eb292470f029db9a4.tar.bz2
Revert 18159 since it wasn't using all the data it should be.
TEST=none BUG=none TBR=mark Review URL: http://codereview.chromium.org/123016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18160 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util.h')
-rw-r--r--base/process_util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/process_util.h b/base/process_util.h
index 81b6d18..4fe081f 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -332,13 +332,13 @@ class ProcessMetrics {
~ProcessMetrics();
// Returns the current space allocated for the pagefile, in bytes (these pages
- // may or may not be in memory). On Linux and Mac, this returns the total
- // virtual memory size of the calling process.
+ // may or may not be in memory). On Linux, this returns the total virtual
+ // memory size.
size_t GetPagefileUsage() const;
// Returns the peak space allocated for the pagefile, in bytes.
size_t GetPeakPagefileUsage() const;
- // Returns the current working set size, in bytes. On Linux & Mac, this
- // returns the resident set size.
+ // Returns the current working set size, in bytes. On Linux, this returns
+ // the resident set size.
size_t GetWorkingSetSize() const;
// Returns the peak working set size, in bytes.
size_t GetPeakWorkingSetSize() const;