forked from qt-creator/qt-creator
QmlProfiler: Fix some misspellings of "Flame Graph"
Change-Id: I281b327eeb53d1159b165f72abee7ebe442a68ff Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -556,12 +556,12 @@
|
|||||||
|
|
||||||
\section2 Visualizing Statistics as Flame Graphs
|
\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
|
of QML and JavaScript execution. The horizontal bars show the amount of
|
||||||
time all invocations of a certain function took together, relative to the
|
time all invocations of a certain function took together, relative to the
|
||||||
total runtime of all JavaScript and QML events. The nesting shows which
|
total runtime of all JavaScript and QML events. The nesting shows which
|
||||||
functions were called by which other ones. Mind that, unlike the
|
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
|
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
|
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.
|
to see the total impact of the various QML and JavaScript events there.
|
||||||
|
|||||||
@@ -39,7 +39,9 @@ FlameGraphView::FlameGraphView(QmlProfilerModelManager *manager, QWidget *parent
|
|||||||
QmlProfilerEventsView(parent), m_content(new QQuickWidget(this)),
|
QmlProfilerEventsView(parent), m_content(new QQuickWidget(this)),
|
||||||
m_model(new FlameGraphModel(manager, 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"));
|
setObjectName(QStringLiteral("QmlProfilerFlamegraph"));
|
||||||
|
|
||||||
qmlRegisterType<FlameGraph>("FlameGraph", 1, 0, "FlameGraph");
|
qmlRegisterType<FlameGraph>("FlameGraph", 1, 0, "FlameGraph");
|
||||||
|
|||||||
Reference in New Issue
Block a user