Skip to content

Commit d698d96

Browse files
yuanhuihuichinmaygarde
authored andcommitted
Fix missing timeline event of flutter engine's startup time (flutter#14319)
Fixes flutter#46744
1 parent 0a40f3d commit d698d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/dart_vm.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ DartVM::DartVM(std::shared_ptr<const DartVMData> vm_data,
417417
if (engine_main_enter_ts != 0) {
418418
Dart_TimelineEvent("FlutterEngineMainEnter", // label
419419
engine_main_enter_ts, // timestamp0
420-
engine_main_enter_ts, // timestamp1_or_async_id
420+
Dart_TimelineGetMicros(), // timestamp1_or_async_id
421421
Dart_Timeline_Event_Duration, // event type
422422
0, // argument_count
423423
nullptr, // argument_names

0 commit comments

Comments
 (0)