summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/eivcx86.h
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-03-12 12:31:13 +0100
committer ImJezze <jezze@gmx.net>2016-03-12 12:31:13 +0100
commita026a582f1a0ea8c1ede3acaddacef506ef3f3b0 (patch)
treee31573822f2359677de519f9f3b600d98e8764cd /src/osd/eivcx86.h
parent477d2abd43984f076b7e45f5527591fa8fd0d241 (diff)
parentdcab55bf53b94713a6f72e9633f5101c8dd6c08c (diff)
Merge pull request #15 from mamedev/master
Sync to base master
Diffstat (limited to 'src/osd/eivcx86.h')
-rw-r--r--src/osd/eivcx86.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/osd/eivcx86.h b/src/osd/eivcx86.h
index b6139f70c26..503594d3a99 100644
--- a/src/osd/eivcx86.h
+++ b/src/osd/eivcx86.h
@@ -460,45 +460,4 @@ static inline UINT8 _count_leading_ones(UINT32 value)
}
#endif
-
-
-/***************************************************************************
- 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
-
-#ifdef PTR64
-
-static inline osd_ticks_t _get_profile_ticks(void)
-{
- return __rdtsc();
-}
-
-#else
-
-static inline osd_ticks_t _get_profile_ticks(void)
-{
- UINT64 result;
- UINT64 *presult = &result;
-
- __asm {
- __asm _emit 0Fh __asm _emit 031h // rdtsc
- mov ebx, presult
- mov [ebx],eax
- mov [ebx+4],edx
- }
-
- return result;
-}
-
-#endif
-
#endif /* __EIVCX86__ */