OpenCoverage

qqmlprofilerclient_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmlprofilerclient_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5class QQmlProfilerClientPrivate;-
6class QQmlProfilerClient : public QQmlDebugClient-
7{-
8 public:-
9#pragma GCC diagnostic push-
10 -
11#pragma GCC diagnostic ignored "-Wsuggest-override"-
12 static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private:-
13#pragma GCC diagnostic ignored "-Wattributes"-
14 __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **);-
15#pragma GCC diagnostic pop-
16 struct QPrivateSignal {};-
17 inline QQmlProfilerClientPrivate* d_func() { return
executed 1728 times by 1 test: return reinterpret_cast<QQmlProfilerClientPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qqmlprofilerservice
reinterpret_cast<QQmlProfilerClientPrivate *>(qGetPtrHelper(d_ptr));
executed 1728 times by 1 test: return reinterpret_cast<QQmlProfilerClientPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qqmlprofilerservice
} inline const QQmlProfilerClientPrivate* d_func() const { return
executed 36 times by 1 test: return reinterpret_cast<const QQmlProfilerClientPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qqmlprofilerservice
reinterpret_cast<const QQmlProfilerClientPrivate *>(qGetPtrHelper(d_ptr));
executed 36 times by 1 test: return reinterpret_cast<const QQmlProfilerClientPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qqmlprofilerservice
} friend class QQmlProfilerClientPrivate;
36-1728
18 -
19-
20public:-
21 QQmlProfilerClient(QQmlDebugConnection *connection, QQmlProfilerEventReceiver *eventReceiver,-
22 quint64 features = std::numeric_limits<quint64>::max());-
23 ~QQmlProfilerClient();-
24-
25 bool isRecording() const;-
26 void setRecording(bool);-
27 quint64 recordedFeatures() const;-
28 virtual void messageReceived(const QByteArray &) override;-
29-
30 void clearEvents();-
31 void clearAll();-
32-
33 void sendRecordingStatus(int engineId = -1);-
34 void setRequestedFeatures(quint64 features);-
35 void setFlushInterval(quint32 flushInterval);-
36-
37protected:-
38 QQmlProfilerClient(QQmlProfilerClientPrivate &dd);-
39 void onStateChanged(State status);-
40-
41public :-
42 void complete(qint64 maximumTime);-
43 void traceFinished(qint64 timestamp, const QList<int> &engineIds);-
44 void traceStarted(qint64 timestamp, const QList<int> &engineIds);-
45-
46 void recordingChanged(bool arg);-
47 void recordedFeaturesChanged(quint64 features);-
48-
49 void cleared();-
50};-
51-
52-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0