Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / ios / chrome / browser / memory / memory_metrics.h
blob7903848aacaeb96cb1f3ebb8b12c6e0dffde5fac
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef IOS_CHROME_BROWSER_MEMORY_MEMORY_METRICS_H_
6 #define IOS_CHROME_BROWSER_MEMORY_MEMORY_METRICS_H_
8 #include "base/basictypes.h"
10 namespace memory_util {
11 // "Physical Free" memory metric. This corresponds to the "Physical Memory Free"
12 // value reported by the Memory Monitor in Instruments.
13 uint64 GetFreePhysicalBytes();
15 // "Real Memory Used" memory metric. This corresponds to the "Real Memory" value
16 // reported for the app by the Memory Monitor in Instruments.
17 uint64 GetRealMemoryUsedInBytes();
19 // "Xcode Gauge" memory metric. This corresponds to the "Memory" value reported
20 // for the app by the Debug Navigator in Xcode. Only supported in iOS 7 and
21 // later.
22 uint64 GetInternalVMBytes();
24 // "Dirty VM" memory metric. This corresponds to the "Dirty Size" value reported
25 // for the app by the VM Tracker in Instruments.
26 uint64 GetDirtyVMBytes();
27 } // namespace memory_util
29 #endif // IOS_CHROME_BROWSER_MEMORY_MEMORY_METRICS_H_