aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/analyze
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2016-02-11 14:18:43 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2016-02-18 12:35:31 +0000
commit3c634554dcad285f4c38f6e8036638476c330557 (patch)
treeacd7dd5e66a2c5b410c60665251f5c5c5626bc26 /doc/src/analyze
parent02af5d80b603322fe3539e8e6629ae5d719c9dbb (diff)
Doc: Add section about data granularity in CPU Usage Analyzer
Change-Id: If70cf36387a3c7ca191bd6508d23db40258a2719 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'doc/src/analyze')
-rw-r--r--doc/src/analyze/cpu-usage-analyzer.qdoc20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/src/analyze/cpu-usage-analyzer.qdoc b/doc/src/analyze/cpu-usage-analyzer.qdoc
index 7bd2d7c58b..237134594e 100644
--- a/doc/src/analyze/cpu-usage-analyzer.qdoc
+++ b/doc/src/analyze/cpu-usage-analyzer.qdoc
@@ -147,6 +147,26 @@
However, those options are not supported by all versions of Perf and Perf may
not start if an unsupported option is given.
+ \section2 Aggregating Data
+
+ In the \uicontrol Granularity field, you can specify whether the data
+ should be aggregated by function or by binary address.
+
+ If you choose \uicontrol Function, all stack frames will be reported with
+ the start address of the function they belong to. Thus, you get a concise
+ overview in the \uicontrol Statistics view, with one entry per function. In
+ the \uicontrol Timeline view, all stack frames from the same function will
+ then have the same color. However, this way you cannot track down which
+ exact lines of code took the most time to execute.
+
+ If you choose \uicontrol Address, the exact address of each stack frame in
+ each sample is reported. Those addresses are then mapped to lines of code,
+ which means that the same function or even line can show up multiple times
+ in the \uicontrol Statistics view. Further, stack frames from the same
+ function will have different colors in the \uicontrol Timeline view,
+ depending on the exact value of the program counter when the sample was
+ recorded.
+
\section1 Analyzing Collected Data
The \uicontrol Timeline view displays a graphical representation of CPU