__proto__: ThreadSlice.prototype
};
- this.sliceGroup = new SliceGroup(ThreadSliceForThisThread);
+ this.sliceGroup = new SliceGroup(this, ThreadSliceForThisThread, 'slices');
this.timeSlices = undefined;
- this.kernelSliceGroup = new SliceGroup();
- this.asyncSliceGroup = new AsyncSliceGroup();
+ this.kernelSliceGroup = new SliceGroup(this, undefined, 'kernel-slices');
+ this.asyncSliceGroup = new AsyncSliceGroup(this, 'async-slices');
this.bounds = new tvcm.Range();
- this.ephemeralSettings = {};
}
Thread.prototype = {
var newSlices = SliceGroup.merge(
this.sliceGroup, this.kernelSliceGroup);
this.sliceGroup.slices = newSlices.slices;
- this.kernelSliceGroup = new SliceGroup();
+ this.kernelSliceGroup = new SliceGroup(this);
this.updateBounds();
}
},
this.timeSlices.forEach(callback, opt_this);
},
+ iterateAllPersistableObjects: function(cb) {
+ cb(this);
+ if (this.sliceGroup.length)
+ cb(this.sliceGroup);
+ this.asyncSliceGroup.titleSubGroups.forEach(cb);
+ },
+
get samples() {
return this.samples_;
}