forked from qt-creator/qt-creator
QmlProfiler: timers for all profiler activities
Change-Id: I2ecbf4d1d90e353506e7c164560b69b81fcc6c66 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -85,6 +85,11 @@ void QV8ProfilerClient::clearData()
|
||||
emit cleared();
|
||||
}
|
||||
|
||||
bool QV8ProfilerClient::isEnabled() const
|
||||
{
|
||||
return status() == Enabled;
|
||||
}
|
||||
|
||||
bool QV8ProfilerClient::isRecording() const
|
||||
{
|
||||
return d->recording;
|
||||
@@ -108,8 +113,8 @@ void QV8ProfilerClient::statusChanged(Status status)
|
||||
{
|
||||
if (status == Enabled) {
|
||||
d->sendRecordingStatus();
|
||||
emit enabled();
|
||||
}
|
||||
emit enabledChanged();
|
||||
}
|
||||
|
||||
void QV8ProfilerClient::messageReceived(const QByteArray &data)
|
||||
|
||||
Reference in New Issue
Block a user