FunctionCall: "FunctionCall",
GCEvent: "GCEvent",
- JSFrame: "JSFrame",
UpdateCounters: "UpdateCounters",
return processRecords(recordsArray, 0);
}
+WebInspector.TimelineModel.TransferChunkLengthBytes = 5000000;
+
WebInspector.TimelineModel.prototype = {
/**
- * @param {boolean} captureStacks
+ * @param {boolean} captureCauses
* @param {boolean} captureMemory
* @param {boolean} capturePictures
*/
- startRecording: function(captureStacks, captureMemory, capturePictures)
+ startRecording: function(captureCauses, captureMemory, capturePictures)
{
},
_createFileReader: function(file, delegate)
{
- return new WebInspector.ChunkedFileReader(file, WebInspector.TimelineModelImpl.TransferChunkLengthBytes, delegate);
+ return new WebInspector.ChunkedFileReader(file, WebInspector.TimelineModel.TransferChunkLengthBytes, delegate);
},
_createFileWriter: function()
*/
minimumRecordTime: function()
{
- return this._minimumRecordTime;
+ throw new Error("Not implemented.");
},
/**
*/
maximumRecordTime: function()
{
- return this._maximumRecordTime;
+ throw new Error("Not implemented.");
},
/**
},
/**
- * @param {!WebInspector.TimelineModel.Record} record
- */
- _updateBoundaries: function(record)
- {
- var startTime = record.startTime();
- var endTime = record.endTime();
-
- if (!this._minimumRecordTime || startTime < this._minimumRecordTime)
- this._minimumRecordTime = startTime;
- if (endTime > this._maximumRecordTime)
- this._maximumRecordTime = endTime;
- },
-
- /**
* @return {!Array.<!WebInspector.TimelineModel.Record>}
*/
mainThreadTasks: function()