| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/InstrumentedAnalysisContextImpl.java
|
| ===================================================================
|
| --- editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/InstrumentedAnalysisContextImpl.java (revision 24187)
|
| +++ editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/InstrumentedAnalysisContextImpl.java (working copy)
|
| @@ -114,6 +114,17 @@
|
| }
|
|
|
| @Override
|
| + public Source[] computeExportedLibraries(Source source) throws AnalysisException {
|
| + InstrumentationBuilder instrumentation = Instrumentation.builder("Analysis-computeExportedLibraries");
|
| + try {
|
| + instrumentation.metric("contextId", contextId);
|
| + return basis.computeExportedLibraries(source);
|
| + } finally {
|
| + instrumentation.log();
|
| + }
|
| + }
|
| +
|
| + @Override
|
| public HtmlElement computeHtmlElement(Source source) throws AnalysisException {
|
| InstrumentationBuilder instrumentation = Instrumentation.builder("Analysis-computeHtmlElement");
|
| try {
|
| @@ -129,6 +140,17 @@
|
| }
|
|
|
| @Override
|
| + public Source[] computeImportedLibraries(Source source) throws AnalysisException {
|
| + InstrumentationBuilder instrumentation = Instrumentation.builder("Analysis-computeImportedLibraries");
|
| + try {
|
| + instrumentation.metric("contextId", contextId);
|
| + return basis.computeImportedLibraries(source);
|
| + } finally {
|
| + instrumentation.log();
|
| + }
|
| + }
|
| +
|
| + @Override
|
| public SourceKind computeKindOf(Source source) {
|
| InstrumentationBuilder instrumentation = Instrumentation.builder("Analysis-computeKindOf");
|
| try {
|
|
|