diff options
Diffstat (limited to 'base/process_util.h')
-rw-r--r-- | base/process_util.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/base/process_util.h b/base/process_util.h index 5f88c62..3d9b7d1 100644 --- a/base/process_util.h +++ b/base/process_util.h @@ -653,14 +653,7 @@ class BASE_API ProcessMetrics { DISALLOW_COPY_AND_ASSIGN(ProcessMetrics); }; -#if defined(OS_LINUX) -// Retrieves data from /proc/meminfo about system-wide memory consumption. -// Values are in KB. Returns true on success. -BASE_API bool GetSystemMemoryInfo(int* total_kb, int* free_kb, int* buffers_kb, - int* cache_kb, int* shmem_kb); -#endif - -// Returns the memory committed by the system in KBytes. +// Returns the memory commited by the system in KBytes. // Returns 0 if it can't compute the commit charge. BASE_API size_t GetSystemCommitCharge(); |