aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilertracefile.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-11-08 17:26:39 +0100
committerUlf Hermann <ulf.hermann@qt.io>2016-11-09 11:54:57 +0000
commitaaca50f705ac8f41f44991478fe11f9eb37fe0bd (patch)
tree6e751f25616f302526f726ad97d2f8041fda5e53 /src/plugins/qmlprofiler/qmlprofilertracefile.h
parenta432683e0ce7a6cace498db26ee268af1e47e7bf (diff)
QmlProfiler: Send loaded events in batches of about 1024
This significantly reduces the number of signals necessary when loading traces. The overhead of queueing those signals across threads was responsible for up to 80% of the time required to load a trace. Change-Id: I461a2ef9944b0be102a29f8ed6b2b3f2f59f3c0f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilertracefile.h')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilertracefile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertracefile.h b/src/plugins/qmlprofiler/qmlprofilertracefile.h
index 937ec1de298..b705f07e689 100644
--- a/src/plugins/qmlprofiler/qmlprofilertracefile.h
+++ b/src/plugins/qmlprofiler/qmlprofilertracefile.h
@@ -62,7 +62,7 @@ public:
signals:
void typesLoaded(const QVector<QmlProfiler::QmlEventType> &types);
void notesLoaded(const QVector<QmlProfiler::QmlNote> &notes);
- void qmlEventLoaded(const QmlProfiler::QmlEvent &event);
+ void qmlEventsLoaded(const QVector<QmlProfiler::QmlEvent> &event);
void error(const QString &error);
void success();