Changeset 561 for trunk/src/testlib/3rdparty/cycle_p.h
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/testlib/3rdparty/cycle_p.h
r2 r561 191 191 192 192 /* Visual C++ -- thanks to Morten Nissov for his help with this */ 193 #if defined(_MSC_VER) 193 194 #if _MSC_VER >= 1200 && (_M_IX86 >= 500 || (defined(_WIN32_WCE) && defined(_X86_))) && !defined(HAVE_TICK_COUNTER) 194 195 #include <windows.h> … … 216 217 #define TIME_MIN 5000.0 /* unreliable pentium IV cycle counter */ 217 218 #endif 219 #endif 218 220 219 221 #if _MSC_VER >= 1400 && defined(_WIN32_WCE) && !defined(HAVE_TICK_COUNTER) … … 492 494 #endif 493 495 496 /*----------------------------------------------------------------*/ 497 /* Symbian */ 498 #if defined(__SYMBIAN32__) && !defined(HAVE_TICK_COUNTER) 499 #include <e32std.h> 500 501 typedef TUint32 CycleCounterTicks; 502 503 static inline CycleCounterTicks getticks(void) 504 { 505 return User::FastCounter(); 506 } 507 508 INLINE_ELAPSED(inline) 509 510 #define HAVE_TICK_COUNTER 511 #endif 512 494 513 #endif // QBENCHLIB_CYCLE_H
Note:
See TracChangeset
for help on using the changeset viewer.