summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/kernel/qelapsedtimer_win.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/corelib/kernel/qelapsedtimer_win.cpp b/src/corelib/kernel/qelapsedtimer_win.cpp
index a63290d2f8..3beb158b8a 100644
--- a/src/corelib/kernel/qelapsedtimer_win.cpp
+++ b/src/corelib/kernel/qelapsedtimer_win.cpp
@@ -77,15 +77,6 @@ static inline qint64 ticksToNanoseconds(qint64 ticks)
return ticks * 1000000;
}
-static inline qint64 nanosecondsToTicks(qint64 nsec)
-{
- if (counterFrequency > 0) {
- // QueryPerformanceCounter uses an arbitrary frequency
- return double(nsec) * counterFrequency / 1000000000.;
- }
- // GetTickCount(64) uses milliseconds
- return nsec / 1000000;
-}
static quint64 getTickCount()
{