Skip to content

Commit

Permalink
Specify rasterFinishWallTime (#85731)
Browse files Browse the repository at this point in the history
This is to transition `rasterFinishWallTime` to a required field in `dart:ui`.
  • Loading branch information
iskakaushik committed Jul 2, 2021
1 parent 0d1c13e commit eb742ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/flutter/test/scheduler/scheduler_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ void main() {
buildFinish: 15000,
rasterStart: 16000,
rasterFinish: 20000,
rasterFinishWallTime: 20010,
frameNumber: 1991
)]);

Expand Down
3 changes: 3 additions & 0 deletions packages/flutter_test/test/frame_timing_summarizer_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ void main() {
buildFinish: buildTimes[i],
rasterStart: 500,
rasterFinish: rasterTimes[i],
// Wall time should not be used in any profiling metrics.
// It is primarily to correlate with external tools' measurement.
rasterFinishWallTime: 0,
),
];

Expand Down

0 comments on commit eb742ea

Please sign in to comment.