|
|
1.1 root 1: /*
2: Hatari - cycles.h
3:
4: This file is distributed under the GNU Public License, version 2 or at
5: your option any later version. Read the file gpl.txt for details.
6: */
7:
8: #ifndef HATARI_CYCLES_H
9: #define HATARI_CYCLES_H
10:
1.1.1.3 ! root 11: #include <stdbool.h>
! 12:
1.1 root 13: enum
14: {
15: CYCLES_COUNTER_SOUND,
16: CYCLES_COUNTER_VIDEO,
1.1.1.3 ! root 17: CYCLES_COUNTER_CPU,
1.1 root 18:
19: CYCLES_COUNTER_MAX
20: };
21:
22:
23: extern int nCyclesMainCounter;
24:
1.1.1.2 root 25: extern int CurrentInstrCycles;
26:
1.1 root 27:
1.1.1.3 ! root 28: extern void Cycles_MemorySnapShot_Capture(bool bSave);
1.1 root 29: extern void Cycles_SetCounter(int nId, int nValue);
30: extern int Cycles_GetCounter(int nId);
31: extern int Cycles_GetCounterOnReadAccess(int nId);
32: extern int Cycles_GetCounterOnWriteAccess(int nId);
33:
34: #endif /* HATARI_CYCLES_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.