ries.bounds.min - CHROME_POWER_GRACE_PERIOD_MS,
        powerSeries.bounds.max + CHROME_POWER_GRACE_PERIOD_MS);
    if (!powerSeriesBoundsWithGracePeriod.containsRangeExclusive(
        chromeBounds)) {
      return;
    }

    // If Chrome bounds are good and the power trace covers the Chrome bounds,
    // then output the Chrome specific metrics (loading and RAIL stages). Note
    // that only the part of the time interval that overlaps the Chrome bounds
    // should be included.
    for (const interval 