lib/third_party/tracing/model/slice_group.js
function() {
      this.updateBounds();
      var maxTimestamp = this.bounds.max;
      for (var sI = 0; sI < this.slices.length; sI++) {
        var slice = this.slices[sI];
        if (slice.didNotFinish)
          slice.duration = maxTimestamp - slice.start;
      }
      this.openPartialSlices_ = [];
    }
function() {
      this.updateBounds();
      var maxTimestamp = this.bounds.max;
      for (var sI = 0; sI < this.slices.length; sI++) {
        var slice = this.slices[sI];
        if (slice.didNotFinish)
          slice.duration = maxTimestamp - slice.start;
      }
      this.openPartialSlices_ = [];
    }
function ( ) { this . updateBounds ( ) ; var maxTimestamp = this . bounds . max ; for ( var sI = 0 ; sI < this . slices . length ; sI ++ ) { var slice = this . slices [ sI ] ; if ( slice . didNotFinish ) slice . duration = maxTimestamp - slice . start ; } this . openPartialSlices_ = [ ] ; }
Closes any open slices.
@param {Number=} opt_maxTimestamp The end time to use for the closed
slices. If not provided,
the max timestamp for this slice is provided.
Closes any open slices .