QmlProfiler: showing paint events

Change-Id: Iaf62b0291b4586ddbafe61d890206c2e5c779f1c
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Christiaan Janssen
2013-06-11 14:48:47 +02:00
committed by Kai Koehne
parent 59a91692b3
commit 3f6226930f
16 changed files with 592 additions and 13 deletions

View File

@@ -161,9 +161,7 @@ QmlProfilerTool::QmlProfilerTool(QObject *parent)
SIGNAL(addV8Event(int,QString,QString,int,double,double)),
d->m_profilerModelManager,
SLOT(addV8Event(int,QString,QString,int,double,double)));
#ifdef PROFILER_FRAMEEVENTS
connect(d->m_profilerConnections, SIGNAL(addFrameEvent(qint64,int,int)), d->m_profilerModelManager, SLOT(addFrameEvent(qint64,int,int)));
#endif
connect(d->m_profilerConnections, SIGNAL(traceStarted(qint64)), d->m_profilerModelManager->traceTime(), SLOT(setStartTime(qint64)));
connect(d->m_profilerConnections, SIGNAL(traceFinished(qint64)), d->m_profilerModelManager->traceTime(), SLOT(setEndTime(qint64)));
connect(d->m_profilerConnections, SIGNAL(dataReadyForProcessing()), d->m_profilerModelManager, SLOT(complete()));