diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2016-10-27 15:30:42 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2016-10-27 15:06:04 +0000 |
commit | 7b25da7e22904285fcebf4f6a5c090455fbc6962 (patch) | |
tree | 0403751091cdff846cafafe269c4caeb958aefda /doc/src/analyze | |
parent | aa118539a41899f79a804341fd5695222b9fae74 (diff) |
Doc: Describe new flame graphs in QML Profiler
You can now visualize memory consumption and allocations
of functions in addition to their time consumption.
Change-Id: I1c36019a5e3a161332a956a4b2d4aa833ea781dc
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'doc/src/analyze')
-rw-r--r-- | doc/src/analyze/qtquick-profiler.qdoc | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/doc/src/analyze/qtquick-profiler.qdoc b/doc/src/analyze/qtquick-profiler.qdoc index 141ca00fcb0..e482dac5580 100644 --- a/doc/src/analyze/qtquick-profiler.qdoc +++ b/doc/src/analyze/qtquick-profiler.qdoc @@ -557,14 +557,26 @@ \section2 Visualizing Statistics as Flame Graphs 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. In the \uicontrol {Visualize Total Time} + view, 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 + functions were called by which other ones. + + \image qml-profiler-flamegraph.png "Flame Graph View" + + To view the total amount of memory allocated by the functions in the + \uicontrol {Visualize Memory} view, select \uicontrol Memory in the + drop-down menu (1). + + To view the the number of memory allocations performed by the functions in + the \uicontrol {Visualize Allocations} view, select \uicontrol Allocations + in the drop-down menu. + + Unlike 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. - \image qml-profiler-flamegraph.png "Flame Graph View" */ |