diff options
author | Ulf Hermann <ulf.hermann@digia.com> | 2014-01-24 12:44:49 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-15 22:37:48 +0100 |
commit | 72420889aa54342da4472683e67e2c70b76a170f (patch) | |
tree | 3bbbb3a3f7b3286cb40f01763c42886bfd265500 /src/qml/qml/qqmlengine_p.h | |
parent | 9424383e6d0ea1dd02dcf1070259e21550da692a (diff) |
Add dedicated QML profiler and adapter
The remaining "profiling" parts of the QML profiler service are
engine specific and are best accessed through their own adapter.
Change-Id: Idb763104bdd80e4dabdf132ec1a496b9bc9f6f46
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlengine_p.h')
-rw-r--r-- | src/qml/qml/qqmlengine_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlengine_p.h b/src/qml/qml/qqmlengine_p.h index e292dbf6c0..d5ceea271e 100644 --- a/src/qml/qml/qqmlengine_p.h +++ b/src/qml/qml/qqmlengine_p.h @@ -102,6 +102,7 @@ class QQmlVME; class QmlObjectCreator; class QDir; class QQmlIncubator; +class QQmlProfiler; // This needs to be declared here so that the pool for it can live in QQmlEnginePrivate. // The inline method definitions are in qqmljavascriptexpression_p.h @@ -146,6 +147,8 @@ public: QQmlContext *rootContext; bool isDebugging; bool useNewCompiler; + QQmlProfiler *profiler; + void enableProfiler(); bool outputWarningsToStdErr; |