forked from qt-creator/qt-creator
QmlProfiler: nonzero trace starttimes
Change-Id: I734c1af79a4975f5f331f212721331ea877b391a Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -54,8 +54,7 @@ function drawData(canvas, ctxt, region)
|
||||
var width = canvas.width;
|
||||
var height = canvas.height;
|
||||
|
||||
var sumValue = qmlEventList.traceEndTime() - qmlEventList.traceStartTime();
|
||||
var spacing = width / sumValue;
|
||||
var spacing = width / qmlEventList.traceDuration();
|
||||
|
||||
ctxt.fillStyle = "rgba(0,0,0,1)";
|
||||
var highest = [0,0,0,0,0];
|
||||
|
||||
Reference in New Issue
Block a user