C
QulPerf QML Type
Holds information about application performance. More...
Import Statement: | import QtQuickUltralite.Extras 2.6 |
Since: | Qt Quick Ultralite 1.0 |
Properties
- averageCpuLoad : real
- averageFps : real
- enabled : bool
- fps : real
- imageBlend : real
- imageTransform : real
- maxDirtyNodes : int
- maxHeapUsage : int
- maxStackUsage : int
- minimumFps : real
- recording : bool
- rectBlend : real
- rectFill : real
- rectRounded : real
- repaint : real
- textBlend : real
- textLayout : real
- totalFrames : int
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
[since Qt Quick Ultralite 2.6] averageCpuLoad : real |
CPU Load averaged over the period between recording interval.
This property was introduced in Qt Quick Ultralite 2.6.
[since Qt Quick Ultralite 2.6] averageFps : real |
Average frames per second measured between recording interval.
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.
maxDirtyNodes : int |
The highest number of dirty nodes seen over the last interval.
[since Qt Quick Ultralite 2.6] maxHeapUsage : int |
Maximum heap usage value in bytes recorded from the start of the application.
This property was introduced in Qt Quick Ultralite 2.6.
[since Qt Quick Ultralite 2.6] maxStackUsage : int |
Maximum stack usage value in bytes recorded from the start of the application.
This property was introduced in Qt Quick Ultralite 2.6.
[since Qt Quick Ultralite 2.6] minimumFps : real |
Minimum frames per second recorded between recording interval.
This property was introduced in Qt Quick Ultralite 2.6.
[since Qt Quick Ultralite 2.6] recording : bool |
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.
[since Qt Quick Ultralite 2.6] totalFrames : int |
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.