diff options
author | Xizhi Zhu <xizhi.zhu@gmail.com> | 2012-01-22 16:41:55 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-24 01:09:19 +0100 |
commit | 65bad77d26cde50ad70b6909a9f81e9a1d058746 (patch) | |
tree | 0ddb1e037cc7f97689e0fe47e72ff7c85d4b8689 /src/corelib/tools/qelapsedtimer.cpp | |
parent | 8511ed8bc29cabc6ef337c152cd0f2fb30d817a1 (diff) |
Remove Symbian code from QtCore.
Change-Id: I9abdc674bcfa7bb38ce27c5213c5a672f59e63d5
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/corelib/tools/qelapsedtimer.cpp')
-rw-r--r-- | src/corelib/tools/qelapsedtimer.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/corelib/tools/qelapsedtimer.cpp b/src/corelib/tools/qelapsedtimer.cpp index ae5b78b9a1..352cb54b2f 100644 --- a/src/corelib/tools/qelapsedtimer.cpp +++ b/src/corelib/tools/qelapsedtimer.cpp @@ -138,7 +138,7 @@ QT_BEGIN_NAMESPACE \value SystemTime The human-readable system time. This clock is not monotonic. \value MonotonicClock The system's monotonic clock, usually found in Unix systems. This clock is monotonic and does not overflow. - \value TickCounter The system's tick counter, used on Windows and Symbian systems. This clock may overflow. + \value TickCounter The system's tick counter, used on Windows systems. This clock may overflow. \value MachAbsoluteTime The Mach kernel's absolute time (Mac OS X). This clock is monotonic and does not overflow. \value PerformanceCounter The high-resolution performance counter provided by Windows. This clock is monotonic and does not overflow. @@ -164,7 +164,7 @@ QT_BEGIN_NAMESPACE The tick counter clock type is based on the system's or the processor's tick counter, multiplied by the duration of a tick. This clock type is - used on Windows and Symbian platforms. If the high-precision performance + used on Windows platforms. If the high-precision performance counter is available on Windows, the \tt{PerformanceCounter} clock type is used instead. @@ -178,12 +178,6 @@ QT_BEGIN_NAMESPACE milliseconds. When comparing such values, it's recommended that the high 32 bits of the millisecond count be masked off. - On Symbian systems, the overflow happens after 2^32 ticks, the duration - of which can be obtained from the platform HAL using the constant - HAL::ENanoTickPeriod. When comparing values between processes, it's - necessary to divide the value by the tick duration and mask off the high - 32 bits. - \section2 MachAbsoluteTime This clock type is based on the absolute time presented by Mach kernels, |