OpenCoverage

qqmlprofilerclient_p_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmlprofilerclient_p_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5class QQmlProfilerClientPrivate : public QQmlDebugClientPrivate {-
6 inline QQmlProfilerClient* q_func() { return static_cast<QQmlProfilerClient *>(q_ptr); } inline const QQmlProfilerClient* q_func() const { return static_cast<const QQmlProfilerClient *>(q_ptr); } friend class QQmlProfilerClient;-
7public:-
8 QQmlProfilerClientPrivate(QQmlDebugConnection *connection,-
9 QQmlProfilerEventReceiver *eventReceiver)-
10 : QQmlDebugClientPrivate(QLatin1String("CanvasFrameRate"), connection)-
11 , eventReceiver(eventReceiver)-
12 , engineControl(new QQmlEngineControlClient(connection))-
13 , maximumTime(0)-
14 , recording(false)-
15 , requestedFeatures(0)-
16 , recordedFeatures(0)-
17 , flushInterval(0)-
18 {-
19 }
executed 36 times by 1 test: end of block
Executed by:
  • tst_qqmlprofilerservice
36
20-
21 virtual ~QQmlProfilerClientPrivate() override;-
22-
23 void sendRecordingStatus(int engineId);-
24 bool updateFeatures(ProfileFeature feature);-
25 int resolveType(const QQmlProfilerTypedEvent &type);-
26 int resolveStackTop();-
27 void forwardEvents(const QQmlProfilerEvent &last);-
28 void processCurrentEvent();-
29 void finalize();-
30-
31 QQmlProfilerEventReceiver *eventReceiver;-
32 QScopedPointer<QQmlEngineControlClient> engineControl;-
33 QScopedPointer<QQmlDebugMessageClient> messageClient;-
34 qint64 maximumTime;-
35 bool recording;-
36 quint64 requestedFeatures;-
37 quint64 recordedFeatures;-
38 quint32 flushInterval;-
39-
40-
41 QQmlProfilerTypedEvent currentEvent;-
42 QHash<QQmlProfilerEventType, int> eventTypeIds;-
43 QHash<qint64, int> serverTypeIds;-
44 QStack<QQmlProfilerTypedEvent> rangesInProgress;-
45 QQueue<QQmlProfilerEvent> pendingMessages;-
46 QQueue<QQmlProfilerEvent> pendingDebugMessages;-
47-
48 QList<int> trackedEngines;-
49};-
50-
51-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0