Fixed asmjit bench to use new CpuTicks.

This commit is contained in:
kobalicekp
2014-04-01 21:27:06 +02:00
parent fa528f4741
commit b4ba6ba2a1

View File

@@ -22,11 +22,7 @@
struct Performance { struct Performance {
static inline uint32_t now() { static inline uint32_t now() {
#if defined(ASMJIT_OS_WINDOWS) return asmjit::CpuTicks::now();
return ::GetTickCount();
#else
return 0;
#endif
} }
inline void reset() { inline void reset() {