static synthesizeTraceEvents(profile, tasks) {
    const model = new CpuProfileModel(profile);
    return model.synthesizeTraceEvents(tasks);
  }
Creates B/E-style trace events from a CpuProfile object created by `collectProfileEvents()`

@param {CpuProfile} profile
@param {Array<LH.Artifacts.TaskNode>} tasks
@return {Array<LH.TraceEvent>}