Add a stack-based object creation profiler
authorUlf Hermann <ulf.hermann@digia.com>
Wed, 27 Nov 2013 11:58:13 +0000 (12:58 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 29 Nov 2013 10:35:16 +0000 (11:35 +0100)
commit17c8fa04ce00a332310793b0e21991ab19c74e0d
treecf4b6fff05c5c0b553ef4b03806687a6df2ab19e
parente0a0b81427f311464a9dbfcd7bf297229a6100e1
Add a stack-based object creation profiler

The simple instantiate-in-context way of profiling object
creation doesn't work anymore because the VME's contexts don't
necessarily map to C++ contexts anymore. The new profiler
introduces two stacks of contexts, one for currently running
ranges (such as components) and one for ranges that will be
revived later to profile componentComplete() and similar things.

Task-number: QTCREATORBUG-10631

Change-Id: Idf19b2adf062bc9c185b3bb5ff5229381f577645
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/debugger/qqmlprofilerservice.cpp
src/qml/debugger/qqmlprofilerservice_p.h