summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/eigccx86.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-03-03 15:46:15 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-03-03 15:46:15 +0100
commit23ae468189b32e04557e3449e70b656eb4a1298b (patch)
treebca6f316c72806fa1bfde7f33714f1c5443f252b /src/osd/eigccx86.h
parent2c3d6845706cf29e1abdd42885df947ac4abd15a (diff)
use chrono calls for time handling in core (nw)
Diffstat (limited to 'src/osd/eigccx86.h')
-rw-r--r--src/osd/eigccx86.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/osd/eigccx86.h b/src/osd/eigccx86.h
index 3494e33b5db..1d5c30d151c 100644
--- a/src/osd/eigccx86.h
+++ b/src/osd/eigccx86.h
@@ -521,40 +521,4 @@ _count_leading_ones(UINT32 value)
return result;
}
-/***************************************************************************
- INLINE TIMING FUNCTIONS
-***************************************************************************/
-
-/*-------------------------------------------------
- get_profile_ticks - return a tick counter
- from the processor that can be used for
- profiling. It does not need to run at any
- particular rate.
--------------------------------------------------*/
-
-#define get_profile_ticks _get_profile_ticks
-
-#ifndef __x86_64__
-static inline UINT64 ATTR_UNUSED ATTR_FORCE_INLINE _get_profile_ticks(void)
-{
- UINT64 result;
- __asm__ __volatile__ (
- "rdtsc"
- : "=A" (result)
- );
- return result;
-}
-#else
-static inline UINT64 ATTR_UNUSED ATTR_FORCE_INLINE _get_profile_ticks(void)
-{
- _x86_union r;
- __asm__ __volatile__ (
- "rdtsc"
- : "=a" (r.u32.l), "=d" (r.u32.h)
- );
-
- return (UINT64) r.u64;
-}
-#endif
-
#endif /* __EIGCCX86__ */