--- hatari/src/includes/cycles.h 2019/04/09 08:48:39 1.1.1.3 +++ hatari/src/includes/cycles.h 2019/04/09 08:56:53 1.1.1.6 @@ -1,14 +1,15 @@ /* Hatari - cycles.h - This file is distributed under the GNU Public License, version 2 or at - your option any later version. Read the file gpl.txt for details. + This file is distributed under the GNU General Public License, version 2 + or at your option any later version. Read the file gpl.txt for details. */ #ifndef HATARI_CYCLES_H #define HATARI_CYCLES_H #include +#include enum { @@ -20,15 +21,20 @@ enum }; -extern int nCyclesMainCounter; +extern int nCyclesMainCounter; +extern Uint64 CyclesGlobalClockCounter; -extern int CurrentInstrCycles; +extern int CurrentInstrCycles; extern void Cycles_MemorySnapShot_Capture(bool bSave); extern void Cycles_SetCounter(int nId, int nValue); extern int Cycles_GetCounter(int nId); +extern int Cycles_GetInternalCycleOnReadAccess(void); +extern int Cycles_GetInternalCycleOnWriteAccess(void); extern int Cycles_GetCounterOnReadAccess(int nId); extern int Cycles_GetCounterOnWriteAccess(int nId); +extern Uint64 Cycles_GetClockCounterOnReadAccess(void); +extern Uint64 Cycles_GetClockCounterOnWriteAccess(void); #endif /* HATARI_CYCLES_H */