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

Unified Diff: chrome/browser/memory/system_memory_stats_recorder.h

Issue 1214803006: [Memory] Add system_memory_stats_recorder_win.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix merge issue in gyp and line wrapping. Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/memory/system_memory_stats_recorder_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory/system_memory_stats_recorder.h
diff --git a/chrome/browser/memory/system_memory_stats_recorder.h b/chrome/browser/memory/system_memory_stats_recorder.h
index ce406bf79ae89717d069fdd7e90b3b9aa5c1b034..5dc354067575c0779b5be6737eb5ec78ddf8daad 100644
--- a/chrome/browser/memory/system_memory_stats_recorder.h
+++ b/chrome/browser/memory/system_memory_stats_recorder.h
@@ -7,6 +7,10 @@
namespace memory {
+// Record a memory size in megabytes, over a potential interval up to 32 GB.
+#define UMA_HISTOGRAM_LARGE_MEMORY_MB(name, sample) \
+ UMA_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 32768, 50)
+
// The type of memory UMA stats to be recorded in RecordMemoryStats.
enum RecordMemoryStatsType {
// When a tab was discarded.
« no previous file with comments | « no previous file | chrome/browser/memory/system_memory_stats_recorder_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698