#include <qelapsedtimer.h>
Definition at line 53 of file qelapsedtimer.h.
Public Types | |
| enum | ClockType { SystemTime, MonotonicClock, TickCounter, MachAbsoluteTime, PerformanceCounter } |
Public Member Functions | |
| void | start () |
| qint64 | restart () |
| void | invalidate () |
| bool | isValid () const |
| qint64 | nsecsElapsed () 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 |
| Enumerator | |
|---|---|
| SystemTime | |
| MonotonicClock | |
| TickCounter | |
| MachAbsoluteTime | |
| PerformanceCounter | |
Definition at line 56 of file qelapsedtimer.h.
|
static |
|
static |
| qint64 restart | ( | ) |
| void invalidate | ( | ) |
| bool isValid | ( | ) | const |
| qint64 nsecsElapsed | ( | ) | const |
| qint64 elapsed | ( | ) | const |
| bool hasExpired | ( | qint64 | timeout | ) | const |
| qint64 msecsSinceReference | ( | ) | const |
| qint64 msecsTo | ( | const QElapsedTimer & | other | ) | const |
| qint64 secsTo | ( | const QElapsedTimer & | other | ) | const |
|
inline |
Definition at line 79 of file qelapsedtimer.h.
|
inline |
Definition at line 81 of file qelapsedtimer.h.
|
friend |