From 3e39eaddf605708bf70cd138703a91de7e3372e0 Mon Sep 17 00:00:00 2001 From: "paul@chromium.org" Date: Tue, 25 Aug 2009 21:00:40 +0000 Subject: First part of getting memory_tests running on Mac. This CL provides the scaffolding for subsequent changes. BUG=16434 (http://crbug.com/16434) TEST=Nothing yet. Review URL: http://codereview.chromium.org/174402 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24313 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/test/perf/mem_usage_mac.cc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 chrome/test/perf/mem_usage_mac.cc (limited to 'chrome/test/perf/mem_usage_mac.cc') diff --git a/chrome/test/perf/mem_usage_mac.cc b/chrome/test/perf/mem_usage_mac.cc new file mode 100644 index 0000000..671c989 --- /dev/null +++ b/chrome/test/perf/mem_usage_mac.cc @@ -0,0 +1,28 @@ +// Copyright (c) 2009 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. + +#include "chrome/test/perf/mem_usage.h" + +#include + +#include "base/logging.h" + +bool GetMemoryInfo(uint32 process_id, + size_t* peak_virtual_size, + size_t* current_virtual_size, + size_t* peak_working_set_size, + size_t* current_working_set_size) { + NOTIMPLEMENTED(); + return false; +} + +size_t GetSystemCommitCharge() { + NOTIMPLEMENTED(); + return 0; +} + +void PrintChromeMemoryUsageInfo() { + NOTIMPLEMENTED(); +} + -- cgit v1.1