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

Unified Diff: webkit/glue/memory_usage.h

Issue 11829032: Add a histogram for renderer memory usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 11 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
Index: webkit/glue/memory_usage.h
diff --git a/webkit/glue/memory_usage.h b/webkit/glue/memory_usage.h
new file mode 100644
index 0000000000000000000000000000000000000000..e0b5bc9ba342c0f90013d4c4736e3e59198ea77b
--- /dev/null
+++ b/webkit/glue/memory_usage.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2013 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.
+
+#ifndef WEBKIT_GLUE_MEMORY_USAGE_H_
+#define WEBKIT_GLUE_MEMORY_USAGE_H_
+
+#include <cstring>
+
+#include "webkit/glue/webkit_glue_export.h"
+
+namespace webkit_glue {
+
+WEBKIT_GLUE_EXPORT size_t memoryUsageKB();
Charlie Reis 2013/01/14 19:59:31 Presumably you're accounting for the fact that it'
marja 2013/01/14 20:17:01 Yes, we're not comparing these values across platf
+
+} // namespace webkit_glue
+
+#endif // WEBKIT_GLUE_MEMORY_USAGE_H_

Powered by Google App Engine
This is Rietveld 408576698