lib/third_party/tracing/model/thread.js
function() {
      this.bounds.reset();

      this.sliceGroup.updateBounds();
      this.bounds.addRange(this.sliceGroup.bounds);

      this.kernelSliceGroup.updateBounds();
      this.bounds.addRange(this.kernelSliceGroup.bounds);

      this.asyncSliceGroup.updateBounds();
      this.bounds.addRange(this.asyncSliceGroup.bounds);

      if (this.timeSlices && this.timeSlices.length) {
        this.bounds.addValue(this.timeSlices[0].start);
        this.bounds.addValue(
            this.timeSlices[this.timeSlices.length - 1].end);
      }

      if (this.samples_ && this.samples_.length) {
        this.bounds.addValue(this.samples_[0].start);
        this.bounds.addValue(
            this.samples_[this.samples_.length - 1].end);
      }
    }
function() {
      this.bounds.reset();

      this.sliceGroup.updateBounds();
      this.bounds.addRange(this.sliceGroup.bounds);

      this.kernelSliceGroup.updateBounds();
      this.bounds.addRange(this.kernelSliceGroup.bounds);

      this.asyncSliceGroup.updateBounds();
      this.bounds.addRange(this.asyncSliceGroup.bounds);

      if (this.timeSlices && this.timeSlices.length) {
        this.bounds.addValue(this.timeSlices[0].start);
        this.bounds.addValue(
            this.timeSlices[this.timeSlices.length - 1].end);
      }

      if (this.samples_ && this.samples_.length) {
        this.bounds.addValue(this.samples_[0].start);
        this.bounds.addValue(
            this.samples_[this.samples_.length - 1].end);
      }
    }
function ( ) { this . bounds . reset ( ) ; this . sliceGroup . updateBounds ( ) ; this . bounds . addRange ( this . sliceGroup . bounds ) ; this . kernelSliceGroup . updateBounds ( ) ; this . bounds . addRange ( this . kernelSliceGroup . bounds ) ; this . asyncSliceGroup . updateBounds ( ) ; this . bounds . addRange ( this . asyncSliceGroup . bounds ) ; if ( this . timeSlices && this . timeSlices . length ) { this . bounds . addValue ( this . timeSlices [ 0 ] . start ) ; this . bounds . addValue ( this . timeSlices [ this . timeSlices . length - 1 ] . end ) ; } if ( this . samples_ && this . samples_ . length ) { this . bounds . addValue ( this . samples_ [ 0 ] . start ) ; this . bounds . addValue ( this . samples_ [ this . samples_ . length - 1 ] . end ) ; } }
Updates the bounds based on the
current objects associated with the thread.
Updates the bounds based on the current objects associated with the thread .