Commit 3e8a40c3 authored by Joerg Bornemann's avatar Joerg Bornemann
Browse files

QmlProfiler: remove V8 tab



V8 is gone long enough to stop supporting it.

Change-Id: If086925359097a69ffab2b2eba4de6f63bd5195e
Reviewed-by: default avatarUlf Hermann <ulf.hermann@theqtcompany.com>
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@theqtcompany.com>
parent b46cf9aa
...@@ -29,9 +29,7 @@ SOURCES += \ ...@@ -29,9 +29,7 @@ SOURCES += \
qmlprofilertracefile.cpp \ qmlprofilertracefile.cpp \
qmlprofilertraceview.cpp \ qmlprofilertraceview.cpp \
qmlprofilertreeview.cpp \ qmlprofilertreeview.cpp \
qmlprofilerviewmanager.cpp \ qmlprofilerviewmanager.cpp
qv8profilerdatamodel.cpp \
qv8profilereventview.cpp
HEADERS += \ HEADERS += \
abstractqmlprofilerrunner.h \ abstractqmlprofilerrunner.h \
...@@ -62,9 +60,7 @@ HEADERS += \ ...@@ -62,9 +60,7 @@ HEADERS += \
qmlprofilertracefile.h \ qmlprofilertracefile.h \
qmlprofilertraceview.h \ qmlprofilertraceview.h \
qmlprofilertreeview.h \ qmlprofilertreeview.h \
qmlprofilerviewmanager.h \ qmlprofilerviewmanager.h
qv8profilerdatamodel.h \
qv8profilereventview.h
RESOURCES += \ RESOURCES += \
qml/qmlprofiler.qrc qml/qmlprofiler.qrc
......
...@@ -47,8 +47,6 @@ QtcPlugin { ...@@ -47,8 +47,6 @@ QtcPlugin {
"qmlprofilertraceview.cpp", "qmlprofilertraceview.h", "qmlprofilertraceview.cpp", "qmlprofilertraceview.h",
"qmlprofilertreeview.cpp", "qmlprofilertreeview.h", "qmlprofilertreeview.cpp", "qmlprofilertreeview.h",
"qmlprofilerviewmanager.cpp", "qmlprofilerviewmanager.h", "qmlprofilerviewmanager.cpp", "qmlprofilerviewmanager.h",
"qv8profilerdatamodel.cpp", "qv8profilerdatamodel.h",
"qv8profilereventview.h", "qv8profilereventview.cpp",
] ]
} }
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
#include <qmldebug/qmldebugclient.h> #include <qmldebug/qmldebugclient.h>
#include <qmldebug/qmlprofilertraceclient.h> #include <qmldebug/qmlprofilertraceclient.h>
#include <qmldebug/qv8profilerclient.h>
#include <utils/qtcassert.h> #include <utils/qtcassert.h>
#include <QPointer> #include <QPointer>
...@@ -56,7 +55,6 @@ public: ...@@ -56,7 +55,6 @@ public:
QmlDebugConnection *connection; QmlDebugConnection *connection;
QPointer<QmlProfilerTraceClient> qmlclientplugin; QPointer<QmlProfilerTraceClient> qmlclientplugin;
QPointer<QV8ProfilerClient> v8clientplugin;
QTimer connectionTimer; QTimer connectionTimer;
int connectionAttempts; int connectionAttempts;
...@@ -70,7 +68,6 @@ public: ...@@ -70,7 +68,6 @@ public:
QString ostDevice; QString ostDevice;
QString sysroot; QString sysroot;
bool v8DataReady;
bool qmlDataReady; bool qmlDataReady;
QmlProfilerModelManager *modelManager; QmlProfilerModelManager *modelManager;
...@@ -85,7 +82,6 @@ QmlProfilerClientManager::QmlProfilerClientManager(QObject *parent) : ...@@ -85,7 +82,6 @@ QmlProfilerClientManager::QmlProfilerClientManager(QObject *parent) :
d->connection = 0; d->connection = 0;
d->connectionAttempts = 0; d->connectionAttempts = 0;
d->v8DataReady = false;
d->qmlDataReady = false; d->qmlDataReady = false;
d->modelManager = 0; d->modelManager = 0;
...@@ -98,8 +94,6 @@ QmlProfilerClientManager::~QmlProfilerClientManager() ...@@ -98,8 +94,6 @@ QmlProfilerClientManager::~QmlProfilerClientManager()
{ {
delete d->connection; delete d->connection;
delete d->qmlclientplugin.data(); delete d->qmlclientplugin.data();
delete d->v8clientplugin.data();
delete d; delete d;
} }
...@@ -131,8 +125,6 @@ void QmlProfilerClientManager::clearBufferedData() ...@@ -131,8 +125,6 @@ void QmlProfilerClientManager::clearBufferedData()
{ {
if (d->qmlclientplugin) if (d->qmlclientplugin)
d->qmlclientplugin.data()->clearData(); d->qmlclientplugin.data()->clearData();
if (d->v8clientplugin)
d->v8clientplugin.data()->clearData();
} }
void QmlProfilerClientManager::discardPendingData() void QmlProfilerClientManager::discardPendingData()
...@@ -165,8 +157,6 @@ void QmlProfilerClientManager::enableServices() ...@@ -165,8 +157,6 @@ void QmlProfilerClientManager::enableServices()
delete d->qmlclientplugin.data(); delete d->qmlclientplugin.data();
d->qmlclientplugin = new QmlProfilerTraceClient(d->connection, d->qmlclientplugin = new QmlProfilerTraceClient(d->connection,
d->profilerState->recordingFeatures()); d->profilerState->recordingFeatures());
delete d->v8clientplugin.data();
d->v8clientplugin = new QV8ProfilerClient(d->connection);
connectClientSignals(); connectClientSignals();
} }
...@@ -196,15 +186,6 @@ void QmlProfilerClientManager::connectClientSignals() ...@@ -196,15 +186,6 @@ void QmlProfilerClientManager::connectClientSignals()
connect(d->profilerState, SIGNAL(recordingFeaturesChanged(quint64)), connect(d->profilerState, SIGNAL(recordingFeaturesChanged(quint64)),
d->qmlclientplugin.data(), SLOT(setFeatures(quint64))); d->qmlclientplugin.data(), SLOT(setFeatures(quint64)));
} }
if (d->v8clientplugin) {
connect(d->v8clientplugin.data(), SIGNAL(complete()), this, SLOT(v8Complete()));
connect(d->v8clientplugin.data(),
SIGNAL(v8range(int,QString,QString,int,double,double)),
d->modelManager,
SLOT(addV8Event(int,QString,QString,int,double,double)));
connect(d->v8clientplugin.data(), SIGNAL(enabledChanged()),
d->v8clientplugin.data(), SLOT(sendRecordingStatus()));
}
} }
void QmlProfilerClientManager::disconnectClientSignals() void QmlProfilerClientManager::disconnectClientSignals()
...@@ -230,15 +211,6 @@ void QmlProfilerClientManager::disconnectClientSignals() ...@@ -230,15 +211,6 @@ void QmlProfilerClientManager::disconnectClientSignals()
disconnect(d->profilerState, SIGNAL(recordingFeaturesChanged(quint64)), disconnect(d->profilerState, SIGNAL(recordingFeaturesChanged(quint64)),
d->qmlclientplugin.data(), SLOT(setFeatures(quint64))); d->qmlclientplugin.data(), SLOT(setFeatures(quint64)));
} }
if (d->v8clientplugin) {
disconnect(d->v8clientplugin.data(), SIGNAL(complete()), this, SLOT(v8Complete()));
disconnect(d->v8clientplugin.data(),
SIGNAL(v8range(int,QString,QString,int,double,double)),
d->modelManager,
SLOT(addV8Event(int,QString,QString,int,double,double)));
disconnect(d->v8clientplugin.data(), SIGNAL(enabledChanged()),
d->v8clientplugin.data(), SLOT(sendRecordingStatus()));
}
} }
void QmlProfilerClientManager::connectToClient() void QmlProfilerClientManager::connectToClient()
...@@ -341,35 +313,15 @@ void QmlProfilerClientManager::qmlComplete(qint64 maximumTime) ...@@ -341,35 +313,15 @@ void QmlProfilerClientManager::qmlComplete(qint64 maximumTime)
{ {
d->modelManager->traceTime()->increaseEndTime(maximumTime); d->modelManager->traceTime()->increaseEndTime(maximumTime);
d->qmlDataReady = true; d->qmlDataReady = true;
if (!d->v8clientplugin || emit dataReadyForProcessing();
d->v8clientplugin.data()->state() != QmlDebugClient::Enabled || // once complete is sent, reset the flags
d->v8DataReady) { d->qmlDataReady = false;
emit dataReadyForProcessing();
// once complete is sent, reset the flags
d->qmlDataReady = false;
d->v8DataReady = false;
}
}
void QmlProfilerClientManager::v8Complete()
{
d->v8DataReady = true;
if (!d->qmlclientplugin ||
d->qmlclientplugin.data()->state() != QmlDebugClient::Enabled ||
d->qmlDataReady) {
emit dataReadyForProcessing();
// once complete is sent, reset the flags
d->v8DataReady = false;
d->qmlDataReady = false;
}
} }
void QmlProfilerClientManager::stopClientsRecording() void QmlProfilerClientManager::stopClientsRecording()
{ {
if (d->qmlclientplugin) if (d->qmlclientplugin)
d->qmlclientplugin.data()->setRecording(false); d->qmlclientplugin.data()->setRecording(false);
if (d->v8clientplugin)
d->v8clientplugin.data()->setRecording(false);
} }
//////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////
...@@ -419,17 +371,13 @@ void QmlProfilerClientManager::clientRecordingChanged() ...@@ -419,17 +371,13 @@ void QmlProfilerClientManager::clientRecordingChanged()
if (d->profilerState->currentState() == QmlProfilerStateManager::AppRunning) { if (d->profilerState->currentState() == QmlProfilerStateManager::AppRunning) {
if (d->qmlclientplugin) if (d->qmlclientplugin)
d->qmlclientplugin.data()->setRecording(d->profilerState->clientRecording()); d->qmlclientplugin.data()->setRecording(d->profilerState->clientRecording());
if (d->v8clientplugin)
d->v8clientplugin.data()->setRecording(d->profilerState->clientRecording());
} }
} }
void QmlProfilerClientManager::serverRecordingChanged() void QmlProfilerClientManager::serverRecordingChanged()
{ {
if (d->profilerState->serverRecording()) { if (d->profilerState->serverRecording())
d->v8DataReady = false;
d->qmlDataReady = false; d->qmlDataReady = false;
}
} }
} // namespace Internal } // namespace Internal
......
...@@ -77,7 +77,6 @@ private slots: ...@@ -77,7 +77,6 @@ private slots:
void retryMessageBoxFinished(int result); void retryMessageBoxFinished(int result);
void qmlComplete(qint64 maximumTime); void qmlComplete(qint64 maximumTime);
void v8Complete();
void profilerStateChanged(); void profilerStateChanged();
void clientRecordingChanged(); void clientRecordingChanged();
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "qmlprofilermodelmanager.h" #include "qmlprofilermodelmanager.h"
#include "qmlprofilerconstants.h" #include "qmlprofilerconstants.h"
#include "qmlprofilerdatamodel.h" #include "qmlprofilerdatamodel.h"
#include "qv8profilerdatamodel.h"
#include "qmlprofilertracefile.h" #include "qmlprofilertracefile.h"
#include "qmlprofilernotesmodel.h" #include "qmlprofilernotesmodel.h"
...@@ -173,7 +172,6 @@ public: ...@@ -173,7 +172,6 @@ public:
QmlProfilerModelManager *q; QmlProfilerModelManager *q;
QmlProfilerDataModel *model; QmlProfilerDataModel *model;
QV8ProfilerDataModel *v8Model;
QmlProfilerNotesModel *notesModel; QmlProfilerNotesModel *notesModel;
QmlProfilerDataState *dataState; QmlProfilerDataState *dataState;
...@@ -198,7 +196,6 @@ QmlProfilerModelManager::QmlProfilerModelManager(Utils::FileInProjectFinder *fin ...@@ -198,7 +196,6 @@ QmlProfilerModelManager::QmlProfilerModelManager(Utils::FileInProjectFinder *fin
d->totalWeight = 0; d->totalWeight = 0;
d->features = 0; d->features = 0;
d->model = new QmlProfilerDataModel(finder, this); d->model = new QmlProfilerDataModel(finder, this);
d->v8Model = new QV8ProfilerDataModel(finder, this);
d->dataState = new QmlProfilerDataState(this, this); d->dataState = new QmlProfilerDataState(this, this);
d->traceTime = new QmlProfilerTraceTime(this); d->traceTime = new QmlProfilerTraceTime(this);
d->notesModel = new QmlProfilerNotesModel(this); d->notesModel = new QmlProfilerNotesModel(this);
...@@ -220,11 +217,6 @@ QmlProfilerDataModel *QmlProfilerModelManager::qmlModel() const ...@@ -220,11 +217,6 @@ QmlProfilerDataModel *QmlProfilerModelManager::qmlModel() const
return d->model; return d->model;
} }
QV8ProfilerDataModel *QmlProfilerModelManager::v8Model() const
{
return d->v8Model;
}
QmlProfilerNotesModel *QmlProfilerModelManager::notesModel() const QmlProfilerNotesModel *QmlProfilerModelManager::notesModel() const
{ {
return d->notesModel; return d->notesModel;
...@@ -232,7 +224,7 @@ QmlProfilerNotesModel *QmlProfilerModelManager::notesModel() const ...@@ -232,7 +224,7 @@ QmlProfilerNotesModel *QmlProfilerModelManager::notesModel() const
bool QmlProfilerModelManager::isEmpty() const bool QmlProfilerModelManager::isEmpty() const
{ {
return d->model->isEmpty() && d->v8Model->isEmpty(); return d->model->isEmpty();
} }
int QmlProfilerModelManager::count() const int QmlProfilerModelManager::count() const
...@@ -324,12 +316,6 @@ void QmlProfilerModelManager::addQmlEvent(QmlDebug::Message message, ...@@ -324,12 +316,6 @@ void QmlProfilerModelManager::addQmlEvent(QmlDebug::Message message,
ndata1, ndata2, ndata3, ndata4, ndata5); ndata1, ndata2, ndata3, ndata4, ndata5);
} }
void QmlProfilerModelManager::addV8Event(int depth, const QString &function, const QString &filename,
int lineNumber, double totalTime, double selfTime)
{
d->v8Model->addV8Event(depth, function, filename, lineNumber,totalTime, selfTime);
}
void QmlProfilerModelManager::complete() void QmlProfilerModelManager::complete()
{ {
switch (state()) { switch (state()) {
...@@ -343,7 +329,6 @@ void QmlProfilerModelManager::complete() ...@@ -343,7 +329,6 @@ void QmlProfilerModelManager::complete()
d->traceTime->increaseEndTime(d->model->lastTimeMark()); d->traceTime->increaseEndTime(d->model->lastTimeMark());
setState(QmlProfilerDataState::ProcessingData); setState(QmlProfilerDataState::ProcessingData);
d->model->complete(); d->model->complete();
d->v8Model->complete();
break; break;
case QmlProfilerDataState::Empty: case QmlProfilerDataState::Empty:
setState(QmlProfilerDataState::Done); setState(QmlProfilerDataState::Done);
...@@ -359,7 +344,7 @@ void QmlProfilerModelManager::complete() ...@@ -359,7 +344,7 @@ void QmlProfilerModelManager::complete()
void QmlProfilerModelManager::modelProcessingDone() void QmlProfilerModelManager::modelProcessingDone()
{ {
Q_ASSERT(state() == QmlProfilerDataState::ProcessingData); Q_ASSERT(state() == QmlProfilerDataState::ProcessingData);
if (d->model->processingDone() && d->v8Model->processingDone()) if (d->model->processingDone())
complete(); complete();
} }
...@@ -379,7 +364,6 @@ void QmlProfilerModelManager::save(const QString &filename) ...@@ -379,7 +364,6 @@ void QmlProfilerModelManager::save(const QString &filename)
QmlProfilerFileWriter writer; QmlProfilerFileWriter writer;
writer.setTraceTime(traceTime()->startTime(), traceTime()->endTime(), writer.setTraceTime(traceTime()->startTime(), traceTime()->endTime(),
traceTime()->duration()); traceTime()->duration());
writer.setV8DataModel(d->v8Model);
writer.setQmlEvents(d->model->getEventTypes(), d->model->getEvents()); writer.setQmlEvents(d->model->getEventTypes(), d->model->getEvents());
writer.setNotes(d->model->getEventNotes()); writer.setNotes(d->model->getEventNotes());
writer.setFuture(&future); writer.setFuture(&future);
...@@ -420,7 +404,6 @@ void QmlProfilerModelManager::load() ...@@ -420,7 +404,6 @@ void QmlProfilerModelManager::load()
QmlProfilerFileReader reader; QmlProfilerFileReader reader;
reader.setFuture(&future); reader.setFuture(&future);
connect(&reader, &QmlProfilerFileReader::error, this, &QmlProfilerModelManager::error); connect(&reader, &QmlProfilerFileReader::error, this, &QmlProfilerModelManager::error);
reader.setV8DataModel(d->v8Model);
reader.setQmlDataModel(d->model); reader.setQmlDataModel(d->model);
reader.load(file); reader.load(file);
file->close(); file->close();
...@@ -453,7 +436,6 @@ void QmlProfilerModelManager::clear() ...@@ -453,7 +436,6 @@ void QmlProfilerModelManager::clear()
d->progress = 0; d->progress = 0;
d->previousProgress = 0; d->previousProgress = 0;
d->model->clear(); d->model->clear();
d->v8Model->clear();
d->traceTime->clear(); d->traceTime->clear();
d->notesModel->clear(); d->notesModel->clear();
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
namespace QmlProfiler { namespace QmlProfiler {
class QmlProfilerModelManager; class QmlProfilerModelManager;
class QmlProfilerDataModel; class QmlProfilerDataModel;
class QV8ProfilerDataModel;
class QmlProfilerNotesModel; class QmlProfilerNotesModel;
namespace Internal { namespace Internal {
...@@ -118,7 +117,6 @@ public: ...@@ -118,7 +117,6 @@ public:
QmlProfilerDataState::State state() const; QmlProfilerDataState::State state() const;
QmlProfilerTraceTime *traceTime() const; QmlProfilerTraceTime *traceTime() const;
QmlProfilerDataModel *qmlModel() const; QmlProfilerDataModel *qmlModel() const;
QV8ProfilerDataModel *v8Model() const;
QmlProfilerNotesModel *notesModel() const; QmlProfilerNotesModel *notesModel() const;
bool isEmpty() const; bool isEmpty() const;
...@@ -150,8 +148,6 @@ public slots: ...@@ -150,8 +148,6 @@ public slots:
qint64 startTime, qint64 length, const QString &data, qint64 startTime, qint64 length, const QString &data,
const QmlDebug::QmlEventLocation &location, const QmlDebug::QmlEventLocation &location,
qint64 ndata1, qint64 ndata2, qint64 ndata3, qint64 ndata4, qint64 ndata5); qint64 ndata1, qint64 ndata2, qint64 ndata3, qint64 ndata4, qint64 ndata5);
void addV8Event(int depth, const QString &function,const QString &filename, int lineNumber,
double totalTime, double selfTime);
void complete(); void complete();
void modelProcessingDone(); void modelProcessingDone();
......
...@@ -122,16 +122,10 @@ static QString qmlTypeAsString(Message message, RangeType rangeType) ...@@ -122,16 +122,10 @@ static QString qmlTypeAsString(Message message, RangeType rangeType)
QmlProfilerFileReader::QmlProfilerFileReader(QObject *parent) : QmlProfilerFileReader::QmlProfilerFileReader(QObject *parent) :
QObject(parent), QObject(parent),
m_v8Model(0),
m_future(0) m_future(0)
{ {
} }
void QmlProfilerFileReader::setV8DataModel(QV8ProfilerDataModel *dataModel)
{
m_v8Model = dataModel;
}
void QmlProfilerFileReader::setQmlDataModel(QmlProfilerDataModel *dataModel) void QmlProfilerFileReader::setQmlDataModel(QmlProfilerDataModel *dataModel)
{ {
m_qmlModel = dataModel; m_qmlModel = dataModel;
...@@ -190,12 +184,6 @@ bool QmlProfilerFileReader::load(QIODevice *device) ...@@ -190,12 +184,6 @@ bool QmlProfilerFileReader::load(QIODevice *device)
break; break;
} }
if (elementName == _("v8profile")) {
if (m_v8Model)
m_v8Model->load(stream, m_future);
break;
}
break; break;
} }
default: break; default: break;
...@@ -465,7 +453,6 @@ QmlProfilerFileWriter::QmlProfilerFileWriter(QObject *parent) : ...@@ -465,7 +453,6 @@ QmlProfilerFileWriter::QmlProfilerFileWriter(QObject *parent) :
m_startTime(0), m_startTime(0),
m_endTime(0), m_endTime(0),
m_measuredTime(0), m_measuredTime(0),
m_v8Model(0),
m_future(0) m_future(0)
{ {
} }
...@@ -477,11 +464,6 @@ void QmlProfilerFileWriter::setTraceTime(qint64 startTime, qint64 endTime, qint6 ...@@ -477,11 +464,6 @@ void QmlProfilerFileWriter::setTraceTime(qint64 startTime, qint64 endTime, qint6
m_measuredTime = measuredTime; m_measuredTime = measuredTime;
} }
void QmlProfilerFileWriter::setV8DataModel(QV8ProfilerDataModel *dataModel)
{
m_v8Model = dataModel;
}
void QmlProfilerFileWriter::setQmlEvents(const QVector<QmlProfilerDataModel::QmlEventTypeData> &types, void QmlProfilerFileWriter::setQmlEvents(const QVector<QmlProfilerDataModel::QmlEventTypeData> &types,
const QVector<QmlProfilerDataModel::QmlEventData> &events) const QVector<QmlProfilerDataModel::QmlEventData> &events)
{ {
...@@ -503,8 +485,7 @@ void QmlProfilerFileWriter::save(QIODevice *device) ...@@ -503,8 +485,7 @@ void QmlProfilerFileWriter::save(QIODevice *device)
{ {
if (m_future) { if (m_future) {
m_future->setProgressRange(0, m_future->setProgressRange(0,
qMax(m_qmlEvents.size() + m_ranges.size() + m_notes.size() qMax(m_qmlEvents.size() + m_ranges.size() + m_notes.size(), 1));
+ m_v8Model->numberOfV8Events(), 1));
m_future->setProgressValue(0); m_future->setProgressValue(0);
m_newProgressValue = 0; m_newProgressValue = 0;
} }
...@@ -646,7 +627,6 @@ void QmlProfilerFileWriter::save(QIODevice *device) ...@@ -646,7 +627,6 @@ void QmlProfilerFileWriter::save(QIODevice *device)
if (isCanceled()) if (isCanceled())
return; return;
m_v8Model->save(stream, m_future);
stream.writeEndElement(); // trace stream.writeEndElement(); // trace
stream.writeEndDocument(); stream.writeEndDocument();
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
#include <qmldebug/qmlprofilereventtypes.h> #include <qmldebug/qmlprofilereventtypes.h>
#include "qmlprofilerdatamodel.h" #include "qmlprofilerdatamodel.h"
#include "qv8profilerdatamodel.h"
QT_FORWARD_DECLARE_CLASS(QIODevice) QT_FORWARD_DECLARE_CLASS(QIODevice)
QT_FORWARD_DECLARE_CLASS(QXmlStreamReader) QT_FORWARD_DECLARE_CLASS(QXmlStreamReader)
...@@ -56,7 +55,6 @@ class QmlProfilerFileReader : public QObject ...@@ -56,7 +55,6 @@ class QmlProfilerFileReader : public QObject
public: public:
explicit QmlProfilerFileReader(QObject *parent = 0); explicit QmlProfilerFileReader(QObject *parent = 0);
void setV8DataModel(QV8ProfilerDataModel *dataModel);
void setQmlDataModel(QmlProfilerDataModel *dataModel); void setQmlDataModel(QmlProfilerDataModel *dataModel);
void setFuture(QFutureInterface<void> *future); void setFuture(QFutureInterface<void> *future);
...@@ -72,7 +70,6 @@ private: ...@@ -72,7 +70,6 @@ private:
void progress(QIODevice *device); void progress(QIODevice *device);
bool isCanceled() const; bool isCanceled() const;
QV8ProfilerDataModel *m_v8Model;
QmlProfilerDataModel *m_qmlModel; QmlProfilerDataModel *m_qmlModel;
QFutureInterface<void> *m_future; QFutureInterface<void> *m_future;
QVector<QmlProfilerDataModel::QmlEventTypeData> m_qmlEvents; QVector<QmlProfilerDataModel::QmlEventTypeData> m_qmlEvents;
...@@ -89,7 +86,6 @@ public: ...@@ -89,7 +86,6 @@ public:
explicit QmlProfilerFileWriter(QObject *parent = 0); explicit QmlProfilerFileWriter(QObject *parent = 0);
void setTraceTime(qint64 startTime, qint64 endTime, qint64 measturedTime); void setTraceTime(qint64 startTime, qint64 endTime, qint64 measturedTime);