Line | Source Code | Coverage |
---|
1 | | - |
2 | | - |
3 | static const qint64 invalidData = static_cast<long long>(0x8000000000000000LL); | - |
4 | void QElapsedTimer::invalidate() | - |
5 | { | - |
6 | t1 = t2 = invalidData; | - |
7 | } executed: } Execution Count:590148 | 590148 |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | bool QElapsedTimer::isValid() const | - |
16 | { | - |
17 | return t1 != invalidData && t2 != invalidData; executed: return t1 != invalidData && t2 != invalidData; Execution Count:381183 | 381183 |
18 | } | - |
19 | bool QElapsedTimer::hasExpired(qint64 timeout) const | - |
20 | { | - |
21 | | - |
22 | | - |
23 | return quint64(elapsed()) > quint64(timeout); executed: return quint64(elapsed()) > quint64(timeout); Execution Count:77961 | 77961 |
24 | } | - |
25 | | - |
26 | | - |
27 | | - |
| | |