diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-03-03 08:36:32 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-04 15:22:58 +0100 |
commit | 94d003c59b346c078e4aa8233c29c2c2c3467e3b (patch) | |
tree | 798d926effa9f4de07d704494dd1639bb2bf9cb0 /src/qml/qml/qqmlobjectcreator_p.h | |
parent | 186f8e2f76dc6995d14e6632d9b9d704198feda2 (diff) |
[new compiler] Fix profiler support
Add profiler tracing calls during objection creation and make sure to set the
function token / source location correctly for the synthesized function
declarations of signal handlers.
Change-Id: Ie4f8accce3a5c5d1d57bb0646cda588b89b76718
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlobjectcreator_p.h')
-rw-r--r-- | src/qml/qml/qqmlobjectcreator_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlobjectcreator_p.h b/src/qml/qml/qqmlobjectcreator_p.h index cda17fe220..b7d6790a81 100644 --- a/src/qml/qml/qqmlobjectcreator_p.h +++ b/src/qml/qml/qqmlobjectcreator_p.h @@ -48,12 +48,14 @@ #include <private/qqmltypecompiler_p.h> #include <private/qfinitestack_p.h> #include <private/qrecursionwatcher_p.h> +#include <private/qqmlprofiler_p.h> QT_BEGIN_NAMESPACE class QQmlAbstractBinding; struct QQmlTypeCompiler; class QQmlInstantiationInterrupt; +struct QQmlVmeProfiler; struct QQmlObjectCreatorSharedState { @@ -64,6 +66,7 @@ struct QQmlObjectCreatorSharedState QFiniteStack<QObject*> allCreatedObjects; QQmlComponentAttached *componentAttached; QList<QQmlEnginePrivate::FinalizeCallback> finalizeCallbacks; + QQmlVmeProfiler profiler; QRecursionNode recursionNode; }; |