diff options
author | hjk <qthjk@ovi.com> | 2012-08-22 14:39:48 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-08-22 15:45:07 +0200 |
commit | 3a8658496ae7604b24ebbb7a6b9c9fdccf96912f (patch) | |
tree | 19a3a109fe37b3cd155e8ca43e70928c69240de5 /doc | |
parent | 25776a3a69b45163c089dab283d1426693601384 (diff) |
analyzer: improve wording for "wrong mode" message
Task-number: QTCREATORBUG-7747
Change-Id: I4a79e7d7047d6320f54824a019f98539d88a3c25
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/analyze/creator-valgrind.qdoc | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/doc/src/analyze/creator-valgrind.qdoc b/doc/src/analyze/creator-valgrind.qdoc index f3f716e595..a25fbdbfd4 100644 --- a/doc/src/analyze/creator-valgrind.qdoc +++ b/doc/src/analyze/creator-valgrind.qdoc @@ -129,8 +129,8 @@ After you download and install Valgrind tools, you can use Callgrind from \QC. - \note Callgrind is supported locally on Linux and Mac OS. You can run it on - a remote host from Windows. + \note Callgrind is supported locally on Linux and Mac OS. You can run + it on a remote Linux machine or device from any development machine. To analyze applications: @@ -166,6 +166,21 @@ the \gui Callers view and about the called functions in the \gui Callees view. + Since Debug and Release mode run-time characteristics differ + significantly, analytical findings for one mode may or not be + relevant for the other. Profiling a Debug mode build + often finds a major part of the time being spent in low-level + code like container implementations, while the same code + does not show up in the profile of a Release build of the + same application due to inlining and other optimizations + typically done there. + + Many recent compilers allow you to build an optimized application + with debug information present at the same time. Typical + options for GCC are for instance \c{-g -O2}. It is + advisable to use such a setup for Callgrind profiling. + + \image qtcreator-valgrind-callgrind.png "Profile view" \section1 Selecting Profiling Options |