Definition at line 53 of file qelapsedtimer.h.
#include <qelapsedtimer.h>
Public Types |
|
| enum | ClockType { SystemTime, MonotonicClock, TickCounter, MachAbsoluteTime } |
Public Member Functions |
|
| void | start () |
| qint64 | restart () |
| void | invalidate () |
| bool | isValid () const |
| qint64 | elapsed () const |
| bool | hasExpired (qint64 timeout) const |
| qint64 | msecsSinceReference () const |
| qint64 | msecsTo (const QElapsedTimer &other) const |
| qint64 | secsTo (const QElapsedTimer &other) const |
| bool | operator== (const QElapsedTimer &other) const |
| bool | operator!= (const QElapsedTimer &other) const |
Static Public Member Functions |
|
| static ClockType | clockType () |
| static bool | isMonotonic () |
Friends |
|
| bool Q_CORE_EXPORT | operator< (const QElapsedTimer &v1, const QElapsedTimer &v2) |
| enum ClockType |
Definition at line 56 of file qelapsedtimer.h.
| static ClockType clockType | ( | ) | [static] |
| static bool isMonotonic | ( | ) | [static] |
| void start | ( | ) |
| qint64 restart | ( | ) |
| void invalidate | ( | ) |
| bool isValid | ( | ) | const |
| qint64 elapsed | ( | ) | const |
| bool hasExpired | ( | qint64 | timeout | ) | const |
| qint64 msecsSinceReference | ( | ) | const |
| qint64 msecsTo | ( | const QElapsedTimer & | other | ) | const |
| qint64 secsTo | ( | const QElapsedTimer & | other | ) | const |
| bool operator== | ( | const QElapsedTimer & | other | ) | const [inline] |
Definition at line 77 of file qelapsedtimer.h.
{ return t1 == other.t1 && t2 == other.t2; }
| bool operator!= | ( | const QElapsedTimer & | other | ) | const [inline] |
Definition at line 79 of file qelapsedtimer.h.
{ return !(*this == other); }
| bool Q_CORE_EXPORT operator< | ( | const QElapsedTimer & | v1, |
| const QElapsedTimer & | v2 | ||
| ) | [friend] |