Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: ios/chrome/browser/memory/memory_metrics.h

Issue 1057933002: [iOS] Upstream //ios/chrome/browser/memory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@upstreamNet
Patch Set: Remove extra bracket Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef IOS_CHROME_BROWSER_MEMORY_MEMORY_METRICS_H_
6 #define IOS_CHROME_BROWSER_MEMORY_MEMORY_METRICS_H_
7
8 #include "base/basictypes.h"
9
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();
14
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();
18
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();
23
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
28
29 #endif // IOS_CHROME_BROWSER_MEMORY_MEMORY_METRICS_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/memory/memory_debugger_manager.mm ('k') | ios/chrome/browser/memory/memory_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698