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

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

Issue 2824133002: Record swap metrics (Closed)
Patch Set: 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
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..bd58a7c072a16391602ba522887bc82e3e527c2c
--- /dev/null
+++ b/content/browser/memory/swap_metrics_observer_win.cc
@@ -0,0 +1,15 @@
+// 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.
bashi 2017/04/18 07:12:33 I couldn't find any API to get swap rates and/or (
Primiano Tucci (use gerrit) 2017/04/27 10:01:20 There is a PageFaultsCount, PROCESS_MEMORY_COUNTER
bashi 2017/04/28 02:05:35 Yeah, I thought PageFaultsCount may be noisy as it
+ return nullptr;
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698