docs: function() {
        this.haveTopLevelSlicesBeenBuilt = true;
        this.createSubSlicesImpl_();
        if (this.parentContainer.timeSlices)
          this.addCpuTimeToSubslices_(this.parentContainer.timeSlices);
        this.slices.forEach(function(slice) {
          var selfTime = slice.duration;
          for (var i = 0; i < slice.subSlices.length; i++)
            selfTime -= slice.subSlices[i].duration;
          slice.selfTime = selfTime;
  
          if (slice.cpuDuration === undefined)
            return;
  
          var cpuSelfTime = slice.cpuDuration;
          for (var i = 0; i < slice.subSlices.length; i++) {
            if (slice.subSlices[i].cpuDuration !== undefined)
              cpuSelfTime -= slice.subSlices[i].cpuDuration;
          }
          slice.cpuSelfTime = cpuSelfTime;
        });
      }