Specify rasterFinishWallTime (#85731)

This is to transition `rasterFinishWallTime` to a required field in `dart:ui`.
This commit is contained in:
Kaushik Iska 2021-07-01 20:34:48 -04:00 committed by GitHub
parent 0d1c13e640
commit eb742ea8fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -143,6 +143,7 @@ void main() {
buildFinish: 15000,
rasterStart: 16000,
rasterFinish: 20000,
rasterFinishWallTime: 20010,
frameNumber: 1991
)]);

View file

@ -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,
),
];