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

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

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_MEMORY_MEMORY_METRICS_H_ 5 #ifndef IOS_CHROME_BROWSER_MEMORY_MEMORY_METRICS_H_
6 #define IOS_CHROME_BROWSER_MEMORY_MEMORY_METRICS_H_ 6 #define IOS_CHROME_BROWSER_MEMORY_MEMORY_METRICS_H_
7 7
8 #include "base/basictypes.h" 8 #include <stdint.h>
9 9
10 namespace memory_util { 10 namespace memory_util {
11 // "Physical Free" memory metric. This corresponds to the "Physical Memory Free" 11 // "Physical Free" memory metric. This corresponds to the "Physical Memory Free"
12 // value reported by the Memory Monitor in Instruments. 12 // value reported by the Memory Monitor in Instruments.
13 uint64 GetFreePhysicalBytes(); 13 uint64_t GetFreePhysicalBytes();
14 14
15 // "Real Memory Used" memory metric. This corresponds to the "Real Memory" value 15 // "Real Memory Used" memory metric. This corresponds to the "Real Memory" value
16 // reported for the app by the Memory Monitor in Instruments. 16 // reported for the app by the Memory Monitor in Instruments.
17 uint64 GetRealMemoryUsedInBytes(); 17 uint64_t GetRealMemoryUsedInBytes();
18 18
19 // "Xcode Gauge" memory metric. This corresponds to the "Memory" value reported 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 20 // for the app by the Debug Navigator in Xcode. Only supported in iOS 7 and
21 // later. 21 // later.
22 uint64 GetInternalVMBytes(); 22 uint64_t GetInternalVMBytes();
23 23
24 // "Dirty VM" memory metric. This corresponds to the "Dirty Size" value reported 24 // "Dirty VM" memory metric. This corresponds to the "Dirty Size" value reported
25 // for the app by the VM Tracker in Instruments. 25 // for the app by the VM Tracker in Instruments.
26 uint64 GetDirtyVMBytes(); 26 uint64_t GetDirtyVMBytes();
27 } // namespace memory_util 27 } // namespace memory_util
28 28
29 #endif // IOS_CHROME_BROWSER_MEMORY_MEMORY_METRICS_H_ 29 #endif // IOS_CHROME_BROWSER_MEMORY_MEMORY_METRICS_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/memory/memory_debugger.mm ('k') | ios/chrome/browser/memory/memory_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698