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

Unified Diff: content/browser/memory/swap_metrics_observer_win.cc

Issue 2824133002: Record swap metrics (Closed)
Patch Set: comments Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/memory/swap_metrics_observer_mac.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/memory/swap_metrics_observer_win.cc
diff --git a/content/browser/memory/swap_metrics_observer_win.cc b/content/browser/memory/swap_metrics_observer_win.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f80a5b5fa523bdba2ba05d829cf918534a5043e0
--- /dev/null
+++ b/content/browser/memory/swap_metrics_observer_win.cc
@@ -0,0 +1,16 @@
+// Copyright 2017 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.
+
+#include "content/browser/memory/swap_metrics_observer.h"
+
+namespace content {
+
+// static
+SwapMetricsObserver* SwapMetricsObserver::GetInstance() {
+ // SwapMetricsObserver isn't available on Windows for now.
+ // TODO(bashi): Figure out a way to measure swap rates on Windows.
chrisha 2017/05/03 15:55:56 You can find detailed stats for a particular proce
bashi 2017/05/08 05:52:00 Thank you Chris for the detailed information. That
+ return nullptr;
+}
+
+} // namespace content
« no previous file with comments | « content/browser/memory/swap_metrics_observer_mac.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698