QmlProfiler: timers for all profiler activities

Change-Id: I2ecbf4d1d90e353506e7c164560b69b81fcc6c66
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Christiaan Janssen
2011-11-28 16:30:30 +01:00
parent fd4e21b685
commit 72c06cb6fd
14 changed files with 182 additions and 41 deletions

View File

@@ -102,7 +102,7 @@ Rectangle {
root.clearAll();
if (eventCount > 1) {
root.progress = Math.min(1.0,
(qmlEventList.lastTimeMark() - qmlEventList.traceStartTime()) / root.elapsedTime * 1e-9 ) * 0.5;
(qmlEventList.lastTimeMark() - qmlEventList.traceStartTime()) / root.elapsedTime * 1e-9 );
} else {
root.progress = 0;
}
@@ -112,6 +112,10 @@ Rectangle {
root.dataAvailable = false;
}
onPostProcessing: {
root.progress = 0.9; // jump to 90%
}
onDataReady: {
if (eventCount > 0) {
view.clearData();