Hi,

On 10/06/2011, at 9:09 PM, "Sarkijarvi Juha (Nokia-SD/Tampere)" 
<[email protected]<mailto:[email protected]>> wrote:

Hi,

Have you tried measuring the frame rate in QML utilizing QML_SHOW_FRAMERATE 
environment variable.
QByteArray data = "1";
qputenv("QML_SHOW_FRAMERATE ", data);

If so, how the generated messages should be interpreted. Here is an example 
print out that I got.

[Qt Message] paintEvent: 2 time since last frame: 16
[Qt Message] paintEvent: 1 time since last frame: 16
[Qt Message] paintEvent: 2 time since last frame: 16
[Qt Message] paintEvent: 2 time since last frame: 16
[Qt Message] paintEvent: 2 time since last frame: 16
[Qt Message] paintEvent: 2 time since last frame: 16
[Qt Message] paintEvent: 1 time since last frame: 16
[Qt Message] paintEvent: 1 time since last frame: 16

What does the first number mean? If it means the number of paint events, why 
there are sometimes several paint events? I thought that there would be only 
one paint event per frame when running 60fps.
It is the time spent in the QGraphicsViet::paintEvent() call itself.

Cheers,

Aaron

Best regards,
Juha
_______________________________________________
Qt-qml mailing list
[email protected]<mailto:[email protected]>
http://lists.qt.nokia.com/mailman/listinfo/qt-qml
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to