diff options
author | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-02 16:50:47 +0000 |
---|---|---|
committer | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-02 16:50:47 +0000 |
commit | 0d83c73b55bd0b5a527f0bcdd26f0d3815d8f938 (patch) | |
tree | 30ef196d7525dba2c2313559d4a0c2bc1c90110a /base/process_util_linux.cc | |
parent | 96e473586171cbd36ede44ca45c65dd6f8ad8c09 (diff) | |
download | chromium_src-0d83c73b55bd0b5a527f0bcdd26f0d3815d8f938.zip chromium_src-0d83c73b55bd0b5a527f0bcdd26f0d3815d8f938.tar.gz chromium_src-0d83c73b55bd0b5a527f0bcdd26f0d3815d8f938.tar.bz2 |
Implement GetCPUUsage; it was causing link errors because of its absence on the Mac, so we'll implement it for everyone.
Review URL: http://codereview.chromium.org/12869
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6221 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util_linux.cc')
-rw-r--r-- | base/process_util_linux.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/base/process_util_linux.cc b/base/process_util_linux.cc index 4e0371c..ec45d3f 100644 --- a/base/process_util_linux.cc +++ b/base/process_util_linux.cc @@ -322,9 +322,4 @@ bool ProcessMetrics::GetIOCounters(IoCounters* io_counters) { return true; } -int ProcessMetrics::GetCPUUsage() { - // TODO(port): This needs to be replaced by an call to getrusage(). - return -1; -} - } // namespace base |