| Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qelapsedtimer.cpp |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | static const qint64 invalidData = static_cast<long long>(0x8000000000000000LL); | - |
| 4 | void QElapsedTimer::invalidate() noexcept | - |
| 5 | { | - |
| 6 | t1 = t2 = invalidData; | - |
| 7 | } executed 134678 times by 81 tests: end of blockExecuted by:
| 134678 |
| 8 | - | |
| 9 | - | |
| 10 | - | |
| 11 | - | |
| 12 | - | |
| 13 | - | |
| 14 | - | |
| 15 | bool QElapsedTimer::isValid() const noexcept | - |
| 16 | { | - |
| 17 | return executed 160919 times by 64 tests: t1 != invalidData && t2 != invalidData;return t1 != invalidData && t2 != invalidData;Executed by:
executed 160919 times by 64 tests: return t1 != invalidData && t2 != invalidData;Executed by:
| 160919 |
| 18 | } | - |
| 19 | bool QElapsedTimer::hasExpired(qint64 timeout) const noexcept | - |
| 20 | { | - |
| 21 | - | |
| 22 | - | |
| 23 | return executed 79506 times by 3 tests: quint64(elapsed()) > quint64(timeout);return quint64(elapsed()) > quint64(timeout);Executed by:
executed 79506 times by 3 tests: return quint64(elapsed()) > quint64(timeout);Executed by:
| 79506 |
| 24 | } | - |
| 25 | - | |
| 26 | - | |
| Switch to Source code | Preprocessed file |