QmlProfiler: Allow preselection of events to be recorded

This allows us to reduce the amount of data we need to handle
if the user isn't interested in certain categories.

Task-number: QTBUG-41118
Change-Id: Ieaac12fb1dec29d6035642f433bc1a1d49e545c2
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Ulf Hermann
2014-09-09 18:22:58 +02:00
parent 7290c43da1
commit 6d58de0bad
17 changed files with 214 additions and 19 deletions

View File

@@ -56,6 +56,7 @@ public:
QmlProfilerState currentState();
bool clientRecording();
bool serverRecording();
quint64 recordingFeatures() const;
QString currentStateAsString();
@@ -63,11 +64,13 @@ signals:
void stateChanged();
void clientRecordingChanged();
void serverRecordingChanged();
void recordingFeaturesChanged(quint64);
public slots:
void setCurrentState(QmlProfilerState newState);
void setClientRecording(bool recording);
void setServerRecording(bool recording);
void setRecordingFeatures(quint64 features);
private:
class QmlProfilerStateManagerPrivate;