summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qelapsedtimer.h
diff options
context:
space:
mode:
authorSebastian Hartte <sebastian@hartte.de>2010-06-18 23:54:45 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2010-06-21 13:55:39 (GMT)
commit7113c6d4be87ead4f2be9afe64c6e81e3f6720a3 (patch)
treec5ddd5ac05dd5650ea1d49fe05aca7985cb47602 /src/corelib/tools/qelapsedtimer.h
parenta4376f3760fae97b3ae45c9ae7b62ed505bfa05d (diff)
downloadQt-7113c6d4be87ead4f2be9afe64c6e81e3f6720a3.zip
Qt-7113c6d4be87ead4f2be9afe64c6e81e3f6720a3.tar.gz
Qt-7113c6d4be87ead4f2be9afe64c6e81e3f6720a3.tar.bz2
QElapsedTimer/Win: use QueryPerformanceCounter if available
Added a clock type to reflect this. Merge-request: 697 Reviewed-by: joerg Reviewed-by: thiago
Diffstat (limited to 'src/corelib/tools/qelapsedtimer.h')
-rw-r--r--src/corelib/tools/qelapsedtimer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/tools/qelapsedtimer.h b/src/corelib/tools/qelapsedtimer.h
index 0d6f0be..b996f6a 100644
--- a/src/corelib/tools/qelapsedtimer.h
+++ b/src/corelib/tools/qelapsedtimer.h
@@ -57,7 +57,8 @@ public:
SystemTime,
MonotonicClock,
TickCounter,
- MachAbsoluteTime
+ MachAbsoluteTime,
+ PerformanceCounter
};
static ClockType clockType();
static bool isMonotonic();