aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2016-04-28 15:57:12 +0200
committerUlf Hermann <[email protected]>2016-05-09 08:20:22 +0000
commit8d15633a22d5fb72db3342626e001bfbcf0e0d7b (patch)
treec63c6d7e735f5f1acce5df2e2780f560c71ff6b7 /src/libs
parent61d94c5ccd12f676079a0d4c1fa7c4c0c73fc609 (diff)
QmlProfiler: Add a QmlTypedEvent and extend QmlEvent
The QmlTypedEvent is mainly useful to read a generic QmlEvent and QmlEventType from a QPacket. QmlEventType has a stream operator to do exactly that. QmlEvent also gets further options to store 32-bit data in addition to 64- and 8-bit data. Also, with the more generic storage layout we can reduce the memory consumption of range events by 50%. This comes at the cost of additional memory allocations for non-range events, but as non-range events are significantly less frequent than range events, this is a good tradeoff. Finally the new storage layout lends itself to efficient serialization, which will help when developing new storage and transfer formats for QML traces. Change-Id: I420de68b0142f23c8fb2ca8b329d7ffe69c83fe0 Reviewed-by: Joerg Bornemann <[email protected]>
Diffstat (limited to 'src/libs')
0 files changed, 0 insertions, 0 deletions