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

Unified Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 2131303002: Validate only private sources, display statistics. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/test/src/context/context_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/engine.dart
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart
index 66b1e0a74f63c9d125790e9f65bd5de7eac8bfd8..4ddc93d4989d2f9dc288e57c70f7d84af01b4c0f 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -1553,6 +1553,25 @@ class ApplyChangesStatus {
}
/**
+ * Statistics about cache consistency validation.
+ */
+class CacheConsistencyValidationStatistics {
+ /**
+ * Number of sources which were modified, but the context was not notified
+ * about it, so this fact was detected only during cache consistency
+ * validation.
+ */
+ int numOfModified = 0;
+
+ /**
+ * Number of sources which were deleted, but the context was not notified
+ * about it, so this fact was detected only during cache consistency
+ * validation.
+ */
+ int numOfDeleted = 0;
+}
+
+/**
* The possible states of cached data.
*/
class CacheState extends Enum<CacheState> {
@@ -2332,6 +2351,13 @@ class PerformanceStatistics {
* The [PerformanceTag] for time spent in summaries support.
*/
static PerformanceTag summary = new PerformanceTag('summary');
+
+ /**
+ * Statistics about cache consistency validation.
+ */
+ static final CacheConsistencyValidationStatistics
+ cacheConsistencyValidationStatistics =
+ new CacheConsistencyValidationStatistics();
}
/**
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/test/src/context/context_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698