summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2016-03-04 16:28:15 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2016-03-07 14:32:36 +0000
commitb4430b61e651806cb56c5ab5206042f5004e3d33 (patch)
tree8c7bf7977e3bf4566c80b18bd005571a75625e01
parenta8da8bc45c74117d668d44aa9cca7022a79ba988 (diff)
downloadqt-creator-b4430b61e651806cb56c5ab5206042f5004e3d33.tar.gz
Doc: Add section about perf.map files
Change-Id: I44b4cb31326e5b6d048ec5fbac55ef6208c513a9 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
-rw-r--r--doc/src/analyze/cpu-usage-analyzer.qdoc10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/src/analyze/cpu-usage-analyzer.qdoc b/doc/src/analyze/cpu-usage-analyzer.qdoc
index 237134594e..9778195061 100644
--- a/doc/src/analyze/cpu-usage-analyzer.qdoc
+++ b/doc/src/analyze/cpu-usage-analyzer.qdoc
@@ -167,6 +167,16 @@
depending on the exact value of the program counter when the sample was
recorded.
+ \section2 Resolving Names for JIT-compiled JavaScript Functions
+
+ From version 5.6.0, Qt can generate perf.map files with information about
+ JavaScript functions. The CPU Usage Analyzer will read them and show the
+ function names in the \uicontrol Timeline and \uicontrol Statistics views.
+ This only works if the process being profiled is running on the host
+ computer, not on the target device. To switch on the generation of perf.map
+ files, add the environment variable \c QV4_PROFILE_WRITE_PERF_MAP to the
+ \uicontrol {Run Environment} and set its value to \c 1.
+
\section1 Analyzing Collected Data
The \uicontrol Timeline view displays a graphical representation of CPU