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

Unified Diff: runtime/bin/main.cc

Issue 1294023009: Switch to a VM wide timeline recorder (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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: runtime/bin/main.cc
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
index 5c36f41abee04c0ac518f95a8328b615e666fe24..0d3fc4e970b84adc392c0c4b11f5bed880459ab0 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -686,6 +686,10 @@ static Dart_Isolate CreateIsolateAndSetupHelper(const char* script_uri,
result = Dart_RunLoop();
CHECK_RESULT(result);
+ if (isolate_data->load_async_id >= 0) {
+ Dart_TimelineAsyncEnd("LoadScript", isolate_data->load_async_id);
+ }
+
Platform::SetPackageRoot(package_root);
DartUtils::SetupIOLibrary(script_uri);
« no previous file with comments | « runtime/bin/dartutils.cc ('k') | runtime/vm/dart.cc » ('j') | runtime/vm/dart.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698