mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 12:34:35 +03:00
Fixed asmjit bench to use new CpuTicks.
This commit is contained in:
@@ -22,11 +22,7 @@
|
||||
|
||||
struct Performance {
|
||||
static inline uint32_t now() {
|
||||
#if defined(ASMJIT_OS_WINDOWS)
|
||||
return ::GetTickCount();
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
return asmjit::CpuTicks::now();
|
||||
}
|
||||
|
||||
inline void reset() {
|
||||
|
||||
Reference in New Issue
Block a user