Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/testlib/3rdparty/cycle_p.h

    r2 r561  
    191191
    192192/* Visual C++ -- thanks to Morten Nissov for his help with this */
     193#if defined(_MSC_VER)
    193194#if _MSC_VER >= 1200 && (_M_IX86 >= 500 || (defined(_WIN32_WCE) && defined(_X86_))) && !defined(HAVE_TICK_COUNTER)
    194195#include <windows.h>
     
    216217#define TIME_MIN 5000.0   /* unreliable pentium IV cycle counter */
    217218#endif
     219#endif
    218220
    219221#if _MSC_VER >= 1400 && defined(_WIN32_WCE) && !defined(HAVE_TICK_COUNTER)
     
    492494#endif
    493495
     496/*----------------------------------------------------------------*/
     497/* Symbian */
     498#if defined(__SYMBIAN32__) && !defined(HAVE_TICK_COUNTER)
     499#include <e32std.h>
     500
     501typedef TUint32 CycleCounterTicks;
     502
     503static inline CycleCounterTicks getticks(void)
     504{
     505    return User::FastCounter();
     506}
     507
     508INLINE_ELAPSED(inline)
     509
     510#define HAVE_TICK_COUNTER
     511#endif
     512
    494513#endif // QBENCHLIB_CYCLE_H
Note: See TracChangeset for help on using the changeset viewer.