Commit 961f5cd2 authored by Ian Hickson's avatar Ian Hickson

Fix framework-side time in profile data (#3706)

parent 00e0075f
......@@ -416,7 +416,7 @@ Future<Null> _downloadStartupTrace(int observatoryPort, Device device) async {
if (frameworkInitTimestampMicros != null) {
traceInfo['timeToFrameworkInitMicros'] = frameworkInitTimestampMicros - engineEnterTimestampMicros;
traceInfo['timeAfterFrameworkInitMicros'] = timeToFirstFrameMicros - frameworkInitTimestampMicros;
traceInfo['timeAfterFrameworkInitMicros'] = firstFrameTimestampMicros - frameworkInitTimestampMicros;
}
await traceInfoFile.writeAsString(JSON.encode(traceInfo));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment