Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qelapsedtimer.h>
#include <qcoreapplication.h>
#include "private/qcore_unix_p.h"
#include "private/qtimerinfo_unix_p.h"
#include "private/qobject_p.h"
#include "private/qabstracteventdispatcher_p.h"
#include <sys/times.h>
Go to the source code of this file.
Functions | |
static bool | byTimeout (const QTimerInfo *a, const QTimerInfo *b) |
static constexpr milliseconds | roundToMillisecond (nanoseconds val) |
static constexpr seconds | roundToSecs (nanoseconds interval) |
static void | calculateCoarseTimerTimeout (QTimerInfo *t, steady_clock::time_point now) |
static void | calculateNextTimeout (QTimerInfo *t, steady_clock::time_point now) |
Variables | |
QT_BEGIN_NAMESPACE Q_CORE_EXPORT bool | qt_disable_lowpriority_timers =false |
|
static |
Definition at line 49 of file qtimerinfo_unix.cpp.
Referenced by QTimerInfoList::activateTimers(), and QTimerInfoList::timerInsert().
|
static |
Definition at line 96 of file qtimerinfo_unix.cpp.
References base, now, Q_ASSERT, qMax(), qMin(), and roundToMillisecond().
Referenced by calculateNextTimeout(), and QTimerInfoList::registerTimer().
|
static |
Definition at line 211 of file qtimerinfo_unix.cpp.
References calculateCoarseTimerTimeout(), Qt::CoarseTimer, now, Qt::PreciseTimer, and Qt::VeryCoarseTimer.
|
staticconstexpr |
Definition at line 61 of file qtimerinfo_unix.cpp.
Referenced by calculateCoarseTimerTimeout(), QTimerInfoList::registerTimer(), and QTimerInfoList::timerWait().
|
staticconstexpr |
Definition at line 77 of file qtimerinfo_unix.cpp.
Referenced by QTimerInfoList::registerTimer().
QT_BEGIN_NAMESPACE Q_CORE_EXPORT bool qt_disable_lowpriority_timers =false |
Definition at line 21 of file qtimerinfo_unix.cpp.
Referenced by QTimerInfoList::activateTimers().