summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qfxperf.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-05-20 06:06:58 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-05-20 06:06:58 (GMT)
commit9852730f6a1fe66aab5a8e6a2b7c139bbd9fb011 (patch)
tree68fbc8f7a442e895a46bdaf5e6897d264737dbea /src/declarative/util/qfxperf.cpp
parentb5bada2b06d85ea74a851b98d3652aff8e64a723 (diff)
downloadQt-9852730f6a1fe66aab5a8e6a2b7c139bbd9fb011.zip
Qt-9852730f6a1fe66aab5a8e6a2b7c139bbd9fb011.tar.gz
Qt-9852730f6a1fe66aab5a8e6a2b7c139bbd9fb011.tar.bz2
Log performance of adding script to the engine.
Diffstat (limited to 'src/declarative/util/qfxperf.cpp')
-rw-r--r--src/declarative/util/qfxperf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/util/qfxperf.cpp b/src/declarative/util/qfxperf.cpp
index ae51157..01ac878 100644
--- a/src/declarative/util/qfxperf.cpp
+++ b/src/declarative/util/qfxperf.cpp
@@ -70,5 +70,6 @@ Q_DEFINE_PERFORMANCE_LOG(QFxPerf, "QFx") {
Q_DEFINE_PERFORMANCE_METRIC(BaseLayoutComponentComplete, "QFxBaseLayout::componentComplete");
Q_DEFINE_PERFORMANCE_METRIC(TextComponentComplete, "QFxText::componentComplete");
Q_DEFINE_PERFORMANCE_METRIC(QFxText_setText, "QFxText::setText");
+ Q_DEFINE_PERFORMANCE_METRIC(AddScript, "QmlScript::addScriptToEngine");
}
QT_END_NAMESPACE