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 {
|
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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user