| Line | Source Code | Coverage |
|---|
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | QBenchmarkEvent::QBenchmarkEvent() | - |
| 5 | : eventCounter(0) | - |
| 6 | { | - |
| 7 | } | 0 |
| 8 | | - |
| 9 | QBenchmarkEvent::~QBenchmarkEvent() | - |
| 10 | { | - |
| 11 | } | - |
| 12 | | - |
| 13 | void QBenchmarkEvent::start() | - |
| 14 | { | - |
| 15 | eventCounter = 0; | - |
| 16 | QAbstractEventDispatcher::instance()->installNativeEventFilter(this); | - |
| 17 | } | 0 |
| 18 | | - |
| 19 | qint64 QBenchmarkEvent::checkpoint() | - |
| 20 | { | - |
| 21 | return eventCounter; never executed: return eventCounter; | 0 |
| 22 | } | - |
| 23 | | - |
| 24 | qint64 QBenchmarkEvent::stop() | - |
| 25 | { | - |
| 26 | QAbstractEventDispatcher::instance()->removeNativeEventFilter(this); | - |
| 27 | return eventCounter; never executed: return eventCounter; | 0 |
| 28 | } | - |
| 29 | | - |
| 30 | | - |
| 31 | | - |
| 32 | | - |
| 33 | bool QBenchmarkEvent::isMeasurementAccepted(qint64 measurement) | - |
| 34 | { | - |
| 35 | (void)measurement;; | - |
| 36 | return true; never executed: return true; | 0 |
| 37 | } | - |
| 38 | | - |
| 39 | int QBenchmarkEvent::adjustIterationCount(int suggestion) | - |
| 40 | { | - |
| 41 | return suggestion; never executed: return suggestion; | 0 |
| 42 | } | - |
| 43 | | - |
| 44 | int QBenchmarkEvent::adjustMedianCount(int suggestion) | - |
| 45 | { | - |
| 46 | (void)suggestion;; | - |
| 47 | return 1; never executed: return 1; | 0 |
| 48 | } | - |
| 49 | | - |
| 50 | QTest::QBenchmarkMetric QBenchmarkEvent::metricType() | - |
| 51 | { | - |
| 52 | return QTest::Events; never executed: return QTest::Events; | 0 |
| 53 | } | - |
| 54 | | - |
| 55 | | - |
| 56 | bool QBenchmarkEvent::nativeEventFilter(const QByteArray &eventType, void *message, long *result) | - |
| 57 | { | - |
| 58 | (void)eventType;; | - |
| 59 | (void)message;; | - |
| 60 | (void)result;; | - |
| 61 | | - |
| 62 | eventCounter++; | - |
| 63 | return false; never executed: return false; | 0 |
| 64 | } | - |
| 65 | | - |
| 66 | | - |
| 67 | | - |
| | |