Doc: Describe CMake profiling

Task-number: QTCREATORBUG-29392
Change-Id: I661d6d39148a53daf328b4895d8cd7cabf163d7a
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Leena Miettinen
2023-11-01 16:12:57 +01:00
parent 9893768461
commit aa9206ca81
6 changed files with 42 additions and 6 deletions

View File

@@ -84,11 +84,13 @@
<h2>How To</h2> <h2>How To</h2>
</div> </div>
<ul> <ul>
<li><a href="creator-how-tos.html#analyze">Analyze</a></li>
<li><a href="creator-how-tos.html#build-and-run">Build and Run</a></li>
<li><a href="creator-how-tos.html#debug">Debug</a></li>
<li><a href="creator-how-tos.html#design-uis">Design UIs</a></li> <li><a href="creator-how-tos.html#design-uis">Design UIs</a></li>
<li><a href="creator-how-tos.html#edit-code">Edit Code</a></li> <li><a href="creator-how-tos.html#edit-code">Edit Code</a></li>
<li><a href="creator-how-tos.html#manage-projects">Manage Projects</a></li> <li><a href="creator-how-tos.html#manage-projects">Manage Projects</a></li>
<li><a href="creator-how-tos.html#build-and-run">Build and Run</a></li> <li><a href="creator-how-tos.html#read-documentation">Read Documentation</a></li>
<li><a href="creator-how-tos.html#read-qt-documentation">Read Qt Documentation</a></li>
<li><a href="creator-how-tos.html#use-qt-creator">Use Qt Creator</a></li> <li><a href="creator-how-tos.html#use-qt-creator">Use Qt Creator</a></li>
<li><a href="creator-how-tos.html#use-the-ui">Use the UI</a></li> <li><a href="creator-how-tos.html#use-the-ui">Use the UI</a></li>
<li><a href="creator-how-tos.html">See All</a></li> <li><a href="creator-how-tos.html">See All</a></li>

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -0,0 +1,23 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\page creator-how-to-profile-cmake-code.html
\previouspage creator-how-tos.html
\ingroup creator-how-to-analyze
\ingroup creator-how-to-build-with-cmake
\title Profile CMake code
With the profiling support in CMake 3.18, and later, you can find out where
CMake is spending time configuring your project.
To view profiling information in the
\uicontrol {Chrome Trace Format Visualizer}, select \uicontrol Analyze >
\uicontrol {CMake Profiler}.
\image qtcreator-cmake-profiler.webp {CMake profiling information in Chrome Trace Format Visualizer}
\sa {CMake}, {Visualizing Chrome Trace Events}
*/

View File

@@ -16,6 +16,15 @@
The following topics describe how to use \QC to perform a particular task. The following topics describe how to use \QC to perform a particular task.
\section1 Analyze
\QC integrates code analysis tools for detecting memory leaks, profiling
function execution, analyzing CPU use, and eliminating unnecessary
complexity of code. Other integrated tools provide code coverage and
visualize trace events.
\generatelist creator-how-to-analyze
\section1 Build and Run \section1 Build and Run
\generatelist creator-how-to-build \generatelist creator-how-to-build

View File

@@ -178,6 +178,8 @@
\endlist \endlist
\li \l{How To} \li \l{How To}
\list \list
\li Analyze
\generatelist creator-how-to-analyze
\li Build and Run \li Build and Run
\generatelist creator-how-to-build \generatelist creator-how-to-build
\li Build with CMake \li Build with CMake

View File

@@ -93,13 +93,13 @@
\endlist \endlist
\li \b {\l{How To}} \li \b {\l{How To}}
\list \list
\li \l{Analyze}
\li \l{Build and Run}
\li \l{Debug}
\li \l{Design UIs} \li \l{Design UIs}
\li \l{Edit Code} \li \l{Edit Code}
\li \l{Manage Projects} \li \l{Manage Projects}
\li \l{Build and Run} \li \l{How To}{See More...}
\li \l{Read Documentation}
\li \l{Use \QC}
\li \l{Use the UI}
\endlist \endlist
\li \b {\l{Reference}} \li \b {\l{Reference}}
\list \list