forked from qt-creator/qt-creator
Doc: Describe CMake profiling
Task-number: QTCREATORBUG-29392 Change-Id: I661d6d39148a53daf328b4895d8cd7cabf163d7a Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -84,11 +84,13 @@
|
||||
<h2>How To</h2>
|
||||
</div>
|
||||
<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#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#build-and-run">Build and Run</a></li>
|
||||
<li><a href="creator-how-tos.html#read-qt-documentation">Read Qt Documentation</a></li>
|
||||
<li><a href="creator-how-tos.html#read-documentation">Read 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-the-ui">Use the UI</a></li>
|
||||
<li><a href="creator-how-tos.html">See All</a></li>
|
||||
|
BIN
doc/qtcreator/images/qtcreator-cmake-profiler.webp
Normal file
BIN
doc/qtcreator/images/qtcreator-cmake-profiler.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
@@ -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}
|
||||
*/
|
@@ -16,6 +16,15 @@
|
||||
|
||||
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
|
||||
|
||||
\generatelist creator-how-to-build
|
||||
|
@@ -178,6 +178,8 @@
|
||||
\endlist
|
||||
\li \l{How To}
|
||||
\list
|
||||
\li Analyze
|
||||
\generatelist creator-how-to-analyze
|
||||
\li Build and Run
|
||||
\generatelist creator-how-to-build
|
||||
\li Build with CMake
|
||||
|
@@ -93,13 +93,13 @@
|
||||
\endlist
|
||||
\li \b {\l{How To}}
|
||||
\list
|
||||
\li \l{Analyze}
|
||||
\li \l{Build and Run}
|
||||
\li \l{Debug}
|
||||
\li \l{Design UIs}
|
||||
\li \l{Edit Code}
|
||||
\li \l{Manage Projects}
|
||||
\li \l{Build and Run}
|
||||
\li \l{Read Documentation}
|
||||
\li \l{Use \QC}
|
||||
\li \l{Use the UI}
|
||||
\li \l{How To}{See More...}
|
||||
\endlist
|
||||
\li \b {\l{Reference}}
|
||||
\list
|
||||
|
Reference in New Issue
Block a user