summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qperformancetimer.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2012-09-14 15:33:20 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-18 08:46:36 +0200
commit5120eec7fc741921318a5538fe15fbcb6bc73f7c (patch)
treeba45750be59a10c1d69521512d9372fc88207d83 /src/declarative/qml/qperformancetimer.cpp
parent5f7494513e35c92f802ff9fdca4baa6ad2246003 (diff)
Remove Symbian platform
Change-Id: Iad770614f7c1c890febeee662d0ce9370dcb17e3 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/declarative/qml/qperformancetimer.cpp')
-rw-r--r--src/declarative/qml/qperformancetimer.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/declarative/qml/qperformancetimer.cpp b/src/declarative/qml/qperformancetimer.cpp
index c7c96498..70f0d004 100644
--- a/src/declarative/qml/qperformancetimer.cpp
+++ b/src/declarative/qml/qperformancetimer.cpp
@@ -45,11 +45,6 @@
#include <sys/time.h>
#include <unistd.h>
#include <mach/mach_time.h>
-#elif defined(Q_OS_SYMBIAN)
-#include <e32std.h>
-#include <sys/time.h>
-#include <hal.h>
-#include <hal_data.h>
#elif defined(Q_OS_UNIX)
#include <sys/time.h>
#include <time.h>
@@ -85,29 +80,6 @@ qint64 QPerformanceTimer::elapsed() const
return absoluteToNSecs(cpu_time - t1);
}
-////////////////////////////// Symbian //////////////////////////////
-#elif defined(Q_OS_SYMBIAN)
-
-static qint64 getTimeFromTick(quint64 elapsed)
-{
- static TInt freq = 0;
- if (!freq)
- HAL::Get(HALData::EFastCounterFrequency, freq);
-
- return (elapsed * 1000000000) / freq;
-}
-
-void QPerformanceTimer::start()
-{
- t1 = User::FastCounter();
-}
-
-qint64 QPerformanceTimer::elapsed() const
-{
- return getTimeFromTick(User::FastCounter() - t1);
-}
-
-
////////////////////////////// Unix //////////////////////////////
#elif defined(Q_OS_UNIX)