diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-04-28 15:57:12 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-05-09 08:20:22 +0000 |
commit | 8d15633a22d5fb72db3342626e001bfbcf0e0d7b (patch) | |
tree | c63c6d7e735f5f1acce5df2e2780f560c71ff6b7 /src/plugins/qmlprofiler/qmlprofiler.qbs | |
parent | 61d94c5ccd12f676079a0d4c1fa7c4c0c73fc609 (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 <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofiler.qbs')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofiler.qbs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofiler.qbs b/src/plugins/qmlprofiler/qmlprofiler.qbs index 8dac527a66..4852c363b5 100644 --- a/src/plugins/qmlprofiler/qmlprofiler.qbs +++ b/src/plugins/qmlprofiler/qmlprofiler.qbs @@ -59,6 +59,7 @@ QtcPlugin { "qmlprofilertracefile.cpp", "qmlprofilertracefile.h", "qmlprofilertraceview.cpp", "qmlprofilertraceview.h", "qmlprofilerviewmanager.cpp", "qmlprofilerviewmanager.h", + "qmltypedevent.cpp", "qmltypedevent.h", "scenegraphtimelinemodel.cpp", "scenegraphtimelinemodel.h", ] } |