class CpuProfilerStage extends StreamingStage implements CodeNavigator.Listener {

  @Nullable
  CpuTraceInfo getIntersectingTraceInfo(Range range) {
    List<SeriesData<CpuTraceInfo>> infoList = getTraceDurations().getSeries().getSeriesForRange(range);
    for (SeriesData<CpuTraceInfo> info : infoList) {
      Range captureRange = info.value.getRange();
      if (!captureRange.getIntersection(range).isEmpty()) {
        return info.value;
      }
    }
    return null;
  }

  public  CpuProfilerStage(@NotNull StudioProfilers profilers);
  public  CpuProfilerStage(@NotNull StudioProfilers profilers, @Nullable File importedTrace);
  @VisibleForTesting  CpuProfilerStage(@NotNull StudioProfilers profilers, @Nullable File importedTrace, @NotNull CpuCaptureParser captureParser);

}