diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2024-03-27 11:18:12 +0100 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2024-04-04 23:42:09 +0100 |
| commit | 47c702ef77a9319e6bdff03da3233f92e92cda85 (patch) | |
| tree | 0372904b6f345222b49bd81b952bb56e2dc02304 /examples/qml/tutorials/extending-qml/chapter2-methods/main.cpp | |
| parent | 025b76866f51608d87b11c89c710d564c0d6e826 (diff) | |
QML Profiler: Avoid reporting scene graph data out of order
The data is recorded by different threads. Since the timestamps are
recorded in the thread context but the data is appended to a common
list, the events can arrive out of order. If that happens, insert at the
right place.
This fixes the flakiness in the tst_qqmlprofilerservice test.
Pick-to: 6.7 6.5
Change-Id: I6b3a86282c6f2e0fb8f0d41ea96c9904dba925ff
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter2-methods/main.cpp')
0 files changed, 0 insertions, 0 deletions
