summaryrefslogtreecommitdiffstats
path: root/chrome/test/perf/mem_usage.h
blob: 90a4824f0820c9b2d4383b6041f24771664c1da0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_TEST_PERF_MEM_USAGE_H_
#define CHROME_TEST_PERF_MEM_USAGE_H_

#include "base/basictypes.h"

// Get the number of bytes currently committed by the system.
// Returns -1 on failure.
size_t GetSystemCommitCharge();

// Get and print memory usage information for running chrome processes.
void PrintChromeMemoryUsageInfo();

#endif  // CHROME_TEST_PERF_MEM_USAGE_H_