On this page

Record a trace

{TODO: intro paragraph - one or two sentences on what recording produces and when to use it}

Record from the UI

To record profiling data:

  • Select Start recording.
  • Use the application to collect data.
  • Select Stop recording to view the results.

Record a command from the command line

{TODO: procedure for the --launch option, which takes a full command line such as "/path/to/app --arg". See the launch option in qtprofilermain.cpp and recordExecutable/recordArguments in qtprofilersettings.h}

Record for a fixed duration

{TODO: procedure for --record-for, which takes a positive number of seconds, starts recording on launch, stops after the duration, and then shows the trace. It is meant to be combined with --launch and optionally --backend. See startTimedRecording() in qtprofilerwindow.h}

See also Getting started and Command-line options.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.