Annotation of hatari/src/includes/cycles.h, revision 1.1.1.6

1.1       root        1: /*
                      2:   Hatari - cycles.h
                      3: 
1.1.1.5   root        4:   This file is distributed under the GNU General Public License, version 2
                      5:   or at your option any later version. Read the file gpl.txt for details.
1.1       root        6: */
                      7: 
                      8: #ifndef HATARI_CYCLES_H
                      9: #define HATARI_CYCLES_H
                     10: 
1.1.1.3   root       11: #include <stdbool.h>
1.1.1.5   root       12: #include <SDL_endian.h>
1.1.1.3   root       13: 
1.1       root       14: enum
                     15: {
                     16:        CYCLES_COUNTER_SOUND,
                     17:        CYCLES_COUNTER_VIDEO,
1.1.1.3   root       18:        CYCLES_COUNTER_CPU,
1.1       root       19: 
                     20:        CYCLES_COUNTER_MAX
                     21: };
                     22: 
                     23: 
1.1.1.5   root       24: extern int     nCyclesMainCounter;
                     25: extern Uint64  CyclesGlobalClockCounter;
1.1       root       26: 
1.1.1.5   root       27: extern int     CurrentInstrCycles;
1.1.1.2   root       28: 
1.1       root       29: 
1.1.1.3   root       30: extern void Cycles_MemorySnapShot_Capture(bool bSave);
1.1       root       31: extern void Cycles_SetCounter(int nId, int nValue);
                     32: extern int Cycles_GetCounter(int nId);
1.1.1.6 ! root       33: extern int Cycles_GetInternalCycleOnReadAccess(void);
        !            34: extern int Cycles_GetInternalCycleOnWriteAccess(void);
1.1       root       35: extern int Cycles_GetCounterOnReadAccess(int nId);
                     36: extern int Cycles_GetCounterOnWriteAccess(int nId);
1.1.1.5   root       37: extern Uint64 Cycles_GetClockCounterOnReadAccess(void);
                     38: extern Uint64 Cycles_GetClockCounterOnWriteAccess(void);
1.1       root       39: 
                     40: #endif  /* HATARI_CYCLES_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.