#include "qelapsedtimer.h"
#include <windows.h>
#include <private/qsystemlibrary_p.h>
Go to the source code of this file.
◆ PtrGetTickCount64
typedef ULONGLONG(WINAPI * PtrGetTickCount64) (void) |
◆ getTickCount()
Definition at line 93 of file qelapsedtimer_win.cpp.
99 LARGE_INTEGER counter;
101 if (QueryPerformanceCounter(&counter)) {
102 return counter.QuadPart;
104 qWarning(
"QueryPerformanceCounter failed, although QueryPerformanceFrequency succeeded.");
118 return val | (
quint64(highdword) << 32);
static quint64 counterFrequency
Q_CORE_EXPORT void qWarning(const char *,...)
static void resolveLibs()
static PtrGetTickCount64 ptrGetTickCount64
◆ operator<()
◆ resolveLibs()
static void resolveLibs |
( |
| ) |
|
|
static |
◆ ticksToNanoseconds()
Definition at line 80 of file qelapsedtimer_win.cpp.
Referenced by getTickCount().
86 return seconds * 1000000000 + nanoSeconds;
89 return ticks * 1000000;
static quint64 counterFrequency
◆ counterFrequency
◆ ptrGetTickCount64