Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | static inline void qt_clock_gettime(clockid_t clock, struct timespec *ts) | - |
9 | { | - |
10 | clock_gettime(clock, ts); | - |
11 | }executed 13337185 times by 700 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 13337185 |
12 | | - |
13 | | - |
14 | static int unixCheckClockType() | - |
15 | { | - |
16 | static QBasicAtomicInt clockToUse = { -1 }; | - |
17 | int clock = clockToUse.loadAcquire(); | - |
18 | if (__builtin_expect(!!((clock >= 0)), true)TRUE | evaluated 19974900 times by 939 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| FALSE | evaluated 987 times by 15 testsEvaluated by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_quuid - unknown status
- tst_selftests - unknown status
|
) | 987-19974900 |
19 | returnexecuted 19974900 times by 939 tests: return clock; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
clock;executed 19974900 times by 939 tests: return clock; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 19974900 |
20 | | - |
21 | | - |
22 | clock = sysconf(_SC_MONOTONIC_CLOCK) > 0TRUE | evaluated 987 times by 15 testsEvaluated by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_quuid - unknown status
- tst_selftests - unknown status
| FALSE | never evaluated |
? 1 : 0; | 0-987 |
23 | clockToUse.storeRelease(clock); | - |
24 | returnexecuted 987 times by 15 tests: return clock; Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_quuid - unknown status
- tst_selftests - unknown status
clock;executed 987 times by 15 tests: return clock; Executed by:- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_quuid - unknown status
- tst_selftests - unknown status
| 987 |
25 | } | - |
26 | | - |
27 | bool QElapsedTimer::isMonotonic() noexcept | - |
28 | { | - |
29 | returnexecuted 4383456 times by 699 tests: return clockType() == MonotonicClock; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
clockType() == MonotonicClock;executed 4383456 times by 699 tests: return clockType() == MonotonicClock; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 4383456 |
30 | } | - |
31 | | - |
32 | QElapsedTimer::ClockType QElapsedTimer::clockType() noexcept | - |
33 | { | - |
34 | returnexecuted 6638702 times by 937 tests: return unixCheckClockType() == 0 ? SystemTime : MonotonicClock; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
unixCheckClockType() == 0TRUE | never evaluated | FALSE | evaluated 6638701 times by 937 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
? SystemTime : MonotonicClock;executed 6638702 times by 937 tests: return unixCheckClockType() == 0 ? SystemTime : MonotonicClock; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 0-6638702 |
35 | } | - |
36 | | - |
37 | static inline void do_gettime(qint64 *sec, qint64 *frac) | - |
38 | { | - |
39 | timespec ts; | - |
40 | qt_clock_gettime(unixCheckClockType(), &ts); | - |
41 | *sec = ts.tv_sec; | - |
42 | *frac = ts.tv_nsec; | - |
43 | }executed 13337185 times by 700 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 13337185 |
44 | | - |
45 | | - |
46 | struct timespec qt_gettime() noexcept | - |
47 | { | - |
48 | qint64 sec, frac; | - |
49 | do_gettime(&sec, &frac); | - |
50 | | - |
51 | timespec tv; | - |
52 | tv.tv_sec = sec; | - |
53 | tv.tv_nsec = frac; | - |
54 | | - |
55 | returnexecuted 7601211 times by 596 tests: return tv; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- ...
tv;executed 7601211 times by 596 tests: return tv; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QApplication
- ...
| 7601211 |
56 | } | - |
57 | | - |
58 | void qt_nanosleep(timespec amount) | - |
59 | { | - |
60 | int r; | - |
61 | do { r = nanosleep(&amount, &amount); }executed 326439 times by 11 tests: end of block Executed by:- tst_QDBusAbstractInterface
- tst_QFuture
- tst_QLockFile
- tst_QMutex
- tst_QProcess
- tst_QProgressDialog
- tst_QReadWriteLock
- tst_QSharedPointer
- tst_QTcpServer
- tst_QThread
- tst_QThreadPool
while (r == -1TRUE | evaluated 1 time by 1 test | FALSE | evaluated 326438 times by 11 testsEvaluated by:- tst_QDBusAbstractInterface
- tst_QFuture
- tst_QLockFile
- tst_QMutex
- tst_QProcess
- tst_QProgressDialog
- tst_QReadWriteLock
- tst_QSharedPointer
- tst_QTcpServer
- tst_QThread
- tst_QThreadPool
|
&& (*TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
__errno_location ()) == 4TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
); | 0-326439 |
62 | }executed 326438 times by 11 tests: end of block Executed by:- tst_QDBusAbstractInterface
- tst_QFuture
- tst_QLockFile
- tst_QMutex
- tst_QProcess
- tst_QProgressDialog
- tst_QReadWriteLock
- tst_QSharedPointer
- tst_QTcpServer
- tst_QThread
- tst_QThreadPool
| 326438 |
63 | | - |
64 | static qint64 elapsedAndRestart(qint64 sec, qint64 frac, | - |
65 | qint64 *nowsec, qint64 *nowfrac) | - |
66 | { | - |
67 | do_gettime(nowsec, nowfrac); | - |
68 | sec = *nowsec - sec; | - |
69 | frac = *nowfrac - frac; | - |
70 | returnexecuted 16369 times by 540 tests: return (sec * static_cast<long long>(1000000000LL) + frac) / static_cast<long long>(1000000LL); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
(sec * static_cast<long long>(1000000000LL) + frac) / static_cast<long long>(1000000LL);executed 16369 times by 540 tests: return (sec * static_cast<long long>(1000000000LL) + frac) / static_cast<long long>(1000000LL); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 16369 |
71 | } | - |
72 | | - |
73 | void QElapsedTimer::start() noexcept | - |
74 | { | - |
75 | do_gettime(&t1, &t2); | - |
76 | }executed 3153153 times by 552 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 3153153 |
77 | | - |
78 | qint64 QElapsedTimer::restart() noexcept | - |
79 | { | - |
80 | returnexecuted 16369 times by 540 tests: return elapsedAndRestart(t1, t2, &t1, &t2); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
elapsedAndRestart(t1, t2, &t1, &t2);executed 16369 times by 540 tests: return elapsedAndRestart(t1, t2, &t1, &t2); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 16369 |
81 | } | - |
82 | | - |
83 | qint64 QElapsedTimer::nsecsElapsed() const noexcept | - |
84 | { | - |
85 | qint64 sec, frac; | - |
86 | do_gettime(&sec, &frac); | - |
87 | sec = sec - t1; | - |
88 | frac = frac - t2; | - |
89 | returnexecuted 2566452 times by 239 tests: return sec * static_cast<long long>(1000000000LL) + frac; Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
sec * static_cast<long long>(1000000000LL) + frac;executed 2566452 times by 239 tests: return sec * static_cast<long long>(1000000000LL) + frac; Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| 2566452 |
90 | } | - |
91 | | - |
92 | qint64 QElapsedTimer::elapsed() const noexcept | - |
93 | { | - |
94 | returnexecuted 2563781 times by 238 tests: return nsecsElapsed() / static_cast<long long>(1000000LL); Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
nsecsElapsed() / static_cast<long long>(1000000LL);executed 2563781 times by 238 tests: return nsecsElapsed() / static_cast<long long>(1000000LL); Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QByteDataBuffer
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- ...
| 2563781 |
95 | } | - |
96 | | - |
97 | qint64 QElapsedTimer::msecsSinceReference() const noexcept | - |
98 | { | - |
99 | returnexecuted 6 times by 1 test: return t1 * static_cast<long long>(1000LL) + t2 / static_cast<long long>(1000000LL); t1 * static_cast<long long>(1000LL) + t2 / static_cast<long long>(1000000LL);executed 6 times by 1 test: return t1 * static_cast<long long>(1000LL) + t2 / static_cast<long long>(1000000LL); | 6 |
100 | } | - |
101 | | - |
102 | qint64 QElapsedTimer::msecsTo(const QElapsedTimer &other) const noexcept | - |
103 | { | - |
104 | qint64 secs = other.t1 - t1; | - |
105 | qint64 fraction = other.t2 - t2; | - |
106 | returnexecuted 6985 times by 8 tests: return (secs * static_cast<long long>(1000000000LL) + fraction) / static_cast<long long>(1000000LL); Executed by:- tst_QCompleter
- tst_QElapsedTimer
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_languageChange
(secs * static_cast<long long>(1000000000LL) + fraction) / static_cast<long long>(1000000LL);executed 6985 times by 8 tests: return (secs * static_cast<long long>(1000000000LL) + fraction) / static_cast<long long>(1000000LL); Executed by:- tst_QCompleter
- tst_QElapsedTimer
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_languageChange
| 6985 |
107 | } | - |
108 | | - |
109 | qint64 QElapsedTimer::secsTo(const QElapsedTimer &other) const noexcept | - |
110 | { | - |
111 | returnexecuted 1 time by 1 test: return other.t1 - t1; other.t1 - t1;executed 1 time by 1 test: return other.t1 - t1; | 1 |
112 | } | - |
113 | | - |
114 | bool operator<(const QElapsedTimer &v1, const QElapsedTimer &v2) noexcept | - |
115 | { | - |
116 | returnexecuted 2 times by 1 test: return v1.t1 < v2.t1 || (v1.t1 == v2.t1 && v1.t2 < v2.t2); v1.t1 < v2.t1TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
|| (v1.t1 == v2.t1TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
&& v1.t2 < v2.t2TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
);executed 2 times by 1 test: return v1.t1 < v2.t1 || (v1.t1 == v2.t1 && v1.t2 < v2.t2); | 0-2 |
117 | } | - |
118 | | - |
119 | | - |
| | |