QmlProfiler: use end of trace event if present

Change-Id: I149a05500fd4bc722da3c409491b35304155828b
Reviewed-on: http://codereview.qt-project.org/6436
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Christiaan Janssen
2011-09-22 16:58:59 +02:00
parent aa3d406faf
commit bc4d15f3c6
8 changed files with 25 additions and 10 deletions

View File

@@ -66,6 +66,8 @@ public:
FramePaint,
Mouse,
Key,
AnimationFrame,
EndTrace,
MaximumEventType
};
@@ -91,6 +93,7 @@ signals:
void complete();
void gap(qint64 time);
void event(int event, qint64 time);
void traceFinished( qint64 time );
void range(int type, qint64 startTime, qint64 length,
const QStringList &data, const QString &fileName, int line);