Commit be0b4727 authored by wfh@chromium.org's avatar wfh@chromium.org

Complete the removal of ProcessMetrics::CalculateFreeMemory

r281335 left the header definition.

BUG=389703

Review URL: https://codereview.chromium.org/421143002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285869 0039d316-1c4b-4281-b951-d872f2087c98
parent 67aac8cd
...@@ -154,12 +154,6 @@ class BASE_EXPORT ProcessMetrics { ...@@ -154,12 +154,6 @@ class BASE_EXPORT ProcessMetrics {
// usage in bytes, as per definition of WorkingSetBytes. // usage in bytes, as per definition of WorkingSetBytes.
bool GetWorkingSetKBytes(WorkingSetKBytes* ws_usage) const; bool GetWorkingSetKBytes(WorkingSetKBytes* ws_usage) const;
// Computes the current process available memory for allocation.
// It does a linear scan of the address space querying each memory region
// for its free (unallocated) status. It is useful for estimating the memory
// load and fragmentation.
bool CalculateFreeMemory(FreeMBytes* free) const;
// Returns the CPU usage in percent since the last time this method or // Returns the CPU usage in percent since the last time this method or
// GetPlatformIndependentCPUUsage() was called. The first time this method // GetPlatformIndependentCPUUsage() was called. The first time this method
// is called it returns 0 and will return the actual CPU info on subsequent // is called it returns 0 and will return the actual CPU info on subsequent
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment