2
* UAE - The Un*x Amiga Emulator
4
* Definitions for accessing cycle counters on a given machine, if possible.
6
* Copyright 1998 Bernd Schmidt
7
* Copyright 2005 Richard Drummond
10
#ifndef EUAE_MACHDEP_RPT_H
11
#define EUAE_MACHDEP_RPT_H
13
STATIC_INLINE uae_s32 read_processor_time (void)
16
__asm__ __volatile__ ("mfspr %0,268" : "=r" (b) : );
20
STATIC_INLINE frame_time_t machdep_gethrtime (void)
22
return read_processor_time ();
25
frame_time_t machdep_gethrtimebase (void);
26
int machdep_inithrtimer (void);
28
#endif /* EUAE_MACHDEP_RPT_H */