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

Unified Diff: pkg/analysis_server/lib/src/domain_diagnostic.dart

Issue 2927783002: add memory usage to the diagnostics page (Closed)
Patch Set: Created 3 years, 6 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: pkg/analysis_server/lib/src/domain_diagnostic.dart
diff --git a/pkg/analysis_server/lib/src/domain_diagnostic.dart b/pkg/analysis_server/lib/src/domain_diagnostic.dart
index 53785fe9ed00619efd0792dfcc79ea00884feec6..8e6027ae202b7b40ac1da68a4d68f76b9f28d3ef 100644
--- a/pkg/analysis_server/lib/src/domain_diagnostic.dart
+++ b/pkg/analysis_server/lib/src/domain_diagnostic.dart
@@ -124,3 +124,11 @@ class DiagnosticDomainHandler implements RequestHandler {
return null;
}
}
+
+class MemoryCpuSample {
+ final DateTime time;
+ final double cpuPercentage;
+ final int memoryKB;
+
+ MemoryCpuSample(this.time, this.cpuPercentage, this.memoryKB);
+}
« no previous file with comments | « pkg/analysis_server/lib/src/analysis_server.dart ('k') | pkg/analysis_server/lib/src/server/http_server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698