summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/measuring-performance.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/declarative/measuring-performance.qdoc')
-rw-r--r--doc/src/declarative/measuring-performance.qdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/declarative/measuring-performance.qdoc b/doc/src/declarative/measuring-performance.qdoc
index 8f6fe7d..cb608bf 100644
--- a/doc/src/declarative/measuring-performance.qdoc
+++ b/doc/src/declarative/measuring-performance.qdoc
@@ -71,14 +71,14 @@ Q_DEFINE_PERFORMANCE_METRIC(TextSize, "Text Size Calculation");
You could then use this category in the code:
\code
-void QmlGraphicsText::updateSize()
+void QDeclarativeText::updateSize()
{
- QmlPerfTimer<QmlPerf::TextSize> perf;
+ QDeclarativePerfTimer<QDeclarativePerf::TextSize> perf;
...
}
\endcode
-Because there is no cost for a QmlPerfTimer when Q_ENABLE_PERFORMANCE_LOG is not defined, this line can persist in the code and be used to help detect performance bottlenecks and regressions. See the QPerformanceLog documentation for more information on this performance framework.
+Because there is no cost for a QDeclarativePerfTimer when Q_ENABLE_PERFORMANCE_LOG is not defined, this line can persist in the code and be used to help detect performance bottlenecks and regressions. See the QPerformanceLog documentation for more information on this performance framework.
\section1 FPS Measurements