C
QulPerf QML Type
Holds information about application performance. More...
Import Statement: | import QtQuickUltralite.Extras 2.12 |
Since: | Qt Quick Ultralite 1.0 |
Properties
- averageCpuLoad : real
(since Qt Quick Ultralite 2.6)
- averageFps : real
(since Qt Quick Ultralite 2.6)
- currentCpuload : real
(since Qt Quick Ultralite 2.6)
- enabled : bool
- fps : real
- imageBlend : real
- imageTransform : real
- maxDirtyNodes : int
- maxHeapUsage : int
(since Qt Quick Ultralite 2.6)
- maxStackUsage : int
(since Qt Quick Ultralite 2.6)
- minimumFps : real
(since Qt Quick Ultralite 2.6)
- recording : bool
(since Qt Quick Ultralite 2.6)
- rectBlend : real
- rectFill : real
- rectRounded : real
- repaint : real
- textBlend : real
- textLayout : real
- totalFrames : int
(since Qt Quick Ultralite 2.6)
Detailed Description
This data is only available if Qt Quick Ultralite is compiled with QUL_ENABLE_PERFORMANCE_LOGGING
. Properties will be updated every two seconds.
Note: The prebuilt core and platform libraries shipped with Qt Quick Ultralite come with QUL_ENABLE_PERFORMANCE_LOGGING
enabled by default.
All properties are read-only.
Example Usage
Text { text: QulPerf.fps }
Note: The QulPerf.recording
property has to be set to true
to start collecting performance metrics. This could be done for example either with the Component.onCompleted
signal, to collect measurements since the start of the application, or via a Timer or dedicated signals to profile specific parts. See Benchmark mode for more information.
Property Documentation
averageCpuLoad : real [since Qt Quick Ultralite 2.6]
CPU Load averaged over the period between recording interval.
This property was introduced in Qt Quick Ultralite 2.6.
averageFps : real [since Qt Quick Ultralite 2.6]
Average frames per second measured between recording interval.
This property was introduced in Qt Quick Ultralite 2.6.
currentCpuload : real [since Qt Quick Ultralite 2.6]
Current CPU load in percentage.
This property was introduced in Qt Quick Ultralite 2.6.
enabled : bool
True if Qt Quick Ultralite was compiled with QUL_ENABLE_PERFORMANCE_LOGGING
.
fps : real
Frames per second over the last interval.
imageBlend : real
Time spent on drawing untransformed Images.
imageTransform : real
Time spent on drawing transformed Images.
maxDirtyNodes : int
The highest number of dirty nodes seen over the last interval.
maxHeapUsage : int [since Qt Quick Ultralite 2.6]
Maximum heap usage value in bytes recorded from the start of the application.
This property was introduced in Qt Quick Ultralite 2.6.
maxStackUsage : int [since Qt Quick Ultralite 2.6]
Maximum stack usage value in bytes recorded from the start of the application.
This property was introduced in Qt Quick Ultralite 2.6.
minimumFps : real [since Qt Quick Ultralite 2.6]
Minimum frames per second recorded between recording interval.
This property was introduced in Qt Quick Ultralite 2.6.
recording : bool [since Qt Quick Ultralite 2.6]
Set to true to start the performance measurement recording and false to stop the recording.
This property was introduced in Qt Quick Ultralite 2.6.
rectBlend : real
Time spent on drawing transparent Rectangles.
rectFill : real
Time spent on drawing opaque Rectangles.
rectRounded : real
Time spent on drawing rounded Rectangles.
repaint : real
Time spent on repainting the frame.
textBlend : real
Time spent blending untransformed text glyphs.
textLayout : real
Time spent drawing text, including textBlend and imageTransform for glyphs.
totalFrames : int [since Qt Quick Ultralite 2.6]
Total number of frames recorded between recording interval.
This property was introduced in Qt Quick Ultralite 2.6.
Available under certain Qt licenses.
Find out more.