diff --git a/doc/src/analyze/qtquick-profiler.qdoc b/doc/src/analyze/qtquick-profiler.qdoc index 8fe52046e1f..141ca00fcb0 100644 --- a/doc/src/analyze/qtquick-profiler.qdoc +++ b/doc/src/analyze/qtquick-profiler.qdoc @@ -556,12 +556,12 @@ \section2 Visualizing Statistics as Flame Graphs - The \uicontrol Flamegraph view shows a more concise statistical overview + The \uicontrol {Flame Graph} view shows a more concise statistical overview of QML and JavaScript execution. The horizontal bars show the amount of time all invocations of a certain function took together, relative to the total runtime of all JavaScript and QML events. The nesting shows which functions were called by which other ones. Mind that, unlike the - \uicontrol Timeline view, the \uicontrol Flamegraph view does not show the + \uicontrol Timeline view, the \uicontrol {Flame Graph} view does not show the time spans when no QML or JavaScript is running at all. Thus, it is not suitable for analyzing per frame execution times. However, it is very easy to see the total impact of the various QML and JavaScript events there. diff --git a/src/plugins/qmlprofiler/flamegraphview.cpp b/src/plugins/qmlprofiler/flamegraphview.cpp index 7414559b298..bb4a78a5dfa 100644 --- a/src/plugins/qmlprofiler/flamegraphview.cpp +++ b/src/plugins/qmlprofiler/flamegraphview.cpp @@ -39,7 +39,9 @@ FlameGraphView::FlameGraphView(QmlProfilerModelManager *manager, QWidget *parent QmlProfilerEventsView(parent), m_content(new QQuickWidget(this)), m_model(new FlameGraphModel(manager, this)) { - setWindowTitle(QStringLiteral("Flamegraph")); + setWindowTitle(QStringLiteral("Flame Graph")); + + // We cannot change this without breaking the settings. setObjectName(QStringLiteral("QmlProfilerFlamegraph")); qmlRegisterType("FlameGraph", 1, 0, "FlameGraph");