terest = new tr.b.math.Range.fromExplicitRange(100, 210);
    const root = constructMultiDimensionalView(model, rangeOfInterest);
    const values = getNodeValues_(root, path);

    // Only 1/10 of the second slice is included in the range of interest, so
    // contribution from that slice is 0.1 * 20.
    // The total range of expectation within range of interest is [100, 210], so
    // total duration is 110.
    assert.closeTo(getCpuUsage_(values), (30 + 0.1 * 20) / 110, 1e-7);
    assert.closeTo(getCpu