197 return v1.
t1 < v2.
t1;
ClockType
This enum contains the different clock types that QElapsedTimer may use.
#define QT_END_NAMESPACE
This macro expands to.
qint64 msecsTo(const QElapsedTimer &other) const
Returns the number of milliseconds between this QElapsedTimer and other.
friend bool Q_CORE_EXPORT operator<(const QElapsedTimer &v1, const QElapsedTimer &v2)
Returns true if v1 was started before v2, false otherwise.
The QElapsedTimer class provides a fast way to calculate elapsed times.
static bool isMonotonic()
Returns true if this is a monotonic clock, false otherwise.
qint64 elapsed() const
Returns the number of milliseconds since this QElapsedTimer was last started.
#define QT_BEGIN_NAMESPACE
This macro expands to.
qint64 restart()
Restarts the timer and returns the time elapsed since the previous start.
qint64 nsecsElapsed() const
Returns the number of nanoseconds since this QElapsedTimer was last started.
static qint64 currentMSecsSinceEpoch()
Returns the number of milliseconds since 1970-01-01T00:00:00 Universal Coordinated Time...
static ClockType clockType()
Returns the clock type that this QElapsedTimer implementation uses.
qint64 msecsSinceReference() const
Returns the number of milliseconds between last time this QElapsedTimer object was started and its re...
void start()
Starts this timer.
qint64 secsTo(const QElapsedTimer &other) const
Returns the number of seconds between this QElapsedTimer and other.