Hello Torsten,
the internal architecture of the rendering has changed significantly
between QtQuick1 and QtQuick2, due to the fact that the second one is
based on a scene graph. In this second case, we don't have individual
paint events to track, since the rendering is managed in a synchronous
way by the scene graph. What individual items do is set a "dirty" flag
which will trigger a redraw on the next pass of the renderer. In other
words, we don't have strict "paint" events with a duration, in the same
sense as we did in QtQuick1. That's why the initial decision was to
track the updates of the animation driver instead; a measurement of the
framerate of the animations was considered to be significant when it
comes to potential optimizations a developer would be interested in.
That being said, there are plans to display more information about
the internals of the renderer (basically, time it takes to parse the
scenegraph within a frame, and time it takes to generate the related
OpenGL commands). Unfortunately, that is still a work in progress.
If you are performing that rotation with a RotationAnimation,
NumberAnimation or PropertyAnimation, you should be able to see the
frames in the profiler trace. If you are only updating the related
property with some sort of timer by using bindings or overwriting the
value from JavaScript, you will only see the event related to the code
that modifies said property in the bindings section or/and in the
JavaScript tab of the profiler.
best regards,
Christiaan Janssen
On 10/30/2012 10:24 AM, Labs, Torsten wrote:
Hello Christiaan,
thx for the answere. So as i understood now QML Profiler does only
show animation events an not initial paintings? For QtQuick1.0 it was
working. Is it planned?
We have a roation of an arrow every 100ms and even there we can't see
any paint events.
Greetings
Torsten
With best regards,
Torsten Labs
Siemens AG
Industry Sector
Industry Automation Division
mailto:[email protected]
Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard
Cromme; Managing Board: Peter Loescher, Chairman, President and Chief
Executive Officer; Roland Busch, Brigitte Ederer, Klaus Helmrich, Joe
Kaeser, Barbara Kux, Hermann Requardt, Siegfried Russwurm, Peter Y.
Solmssen, Michael Suess; Registered offices: Berlin and Munich,
Germany; Commercial registries: Berlin Charlottenburg, HRB 12300,
Munich, HRB 6684; WEEE-Reg.-No. DE 23691322
------------------------------------------------------------------------
*From:* Christiaan Janssen [mailto:[email protected]]
*Sent:* Monday, October 29, 2012 4:38 PM
*To:* Labs, Torsten
*Cc:* [email protected]
*Subject:* Re: [Development] QML Profiler for Qt5
Hello Torsten,
I took a look at the file you provided. I didn't see anything wrong
with it. It's just that you don't have any animation frame events.
Does you application have animations? Elements like Flickable or
Behaviour also use animations, those should show. If not, that would
explain why you don't see them in the trace.
The Qml profiler, when profiling Qt5 animations, shows the frame
events for animations, but not paint events for static objects.
I hope this explanation helps.
Best regards,
Christiaan Janssen
On 10/29/2012 02:47 PM, ext Labs, Torsten wrote:
Hello,
i tried to connect a QML Profiler from Qt5 with my Qt5 project and
unfortunaly i can not see any paint events. The QML Profiler connects
remote to a Arm9 board. Do i have to add something else or is it just
not implemented yet in Qt5 Beta1? Attached you can see a recorded trace.
Greetings
With best regards,
Torsten Labs
Siemens AG
Industry Sector
Industry Automation Division
Industrial Automation Systems
Factory Automation
mailto:[email protected]
Siemens Aktiengesellschaft: Chairman of the Supervisory Board:
Gerhard Cromme; Managing Board: Peter Loescher, Chairman, President
and Chief Executive Officer; Roland Busch, Brigitte Ederer, Klaus
Helmrich, Joe Kaeser, Barbara Kux, Hermann Requardt, Siegfried
Russwurm, Peter Y. Solmssen, Michael Suess; Registered offices:
Berlin and Munich, Germany; Commercial registries: Berlin
Charlottenburg, HRB 12300, Munich, HRB 6684; WEEE-Reg.-No. DE 23691322
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development
--
Christiaan Janssen
Senior Software Engineer
Digia, Qt
Digia Germany GmbH
Rudower Chausse 13, 12489 D-Berlin
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB
144331 B,
Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
Email:[email protected]
Tel: +49 30 63 92 32 55
http://qt.digia.com
Qt Blog:http://blog.qt.digia.com/
Qt Facebook:www.facebook.com/qtcommercial
Qt Twitter:www.twitter.com/qtcommercial
Digia Germany is a group company of Digia Plc,
Valimotie 21, FI-00380 Helsinki Finland
Visit us at:www.digia.com
------------------------------------------------------------------
PRIVACY AND CONFIDENTIALITY NOTICE
This message and any attachments are intended only for use by the named
addressee and may contain privileged and/or confidential information. If you
are not the named addressee you should not disseminate, copy or take any action
in reliance on it. If you have received this message in error, please contact
the sender immediately and delete the message and any attachments accompanying
it. Digia Germany GmbH and Digia Plc do not accept liability for any
corruption, interception, amendment, tampering or viruses occurring to this
message.
------------------------------------------------------------------
--
Christiaan Janssen
Senior Software Engineer
Digia, Qt
Digia Germany GmbH
Rudower Chausse 13, 12489 D-Berlin
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB
144331 B,
Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
Email: [email protected]
Tel: +49 30 63 92 32 55
http://qt.digia.com
Qt Blog: http://blog.qt.digia.com/
Qt Facebook: www.facebook.com/qtcommercial
Qt Twitter: www.twitter.com/qtcommercial
Digia Germany is a group company of Digia Plc,
Valimotie 21, FI-00380 Helsinki Finland
Visit us at: www.digia.com
------------------------------------------------------------------
PRIVACY AND CONFIDENTIALITY NOTICE
This message and any attachments are intended only for use by the named
addressee and may contain privileged and/or confidential information. If you
are not the named addressee you should not disseminate, copy or take any action
in reliance on it. If you have received this message in error, please contact
the sender immediately and delete the message and any attachments accompanying
it. Digia Germany GmbH and Digia Plc do not accept liability for any
corruption, interception, amendment, tampering or viruses occurring to this
message.
------------------------------------------------------------------
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development