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

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;
        !            28: extern int     MovepByteNbr;
1.1.1.2   root       29: 
1.1       root       30: 
1.1.1.3   root       31: extern void Cycles_MemorySnapShot_Capture(bool bSave);
1.1       root       32: extern void Cycles_SetCounter(int nId, int nValue);
                     33: extern int Cycles_GetCounter(int nId);
                     34: extern int Cycles_GetCounterOnReadAccess(int nId);
                     35: extern int Cycles_GetCounterOnWriteAccess(int nId);
1.1.1.5 ! root       36: extern Uint64 Cycles_GetClockCounterOnReadAccess(void);
        !            37: extern Uint64 Cycles_GetClockCounterOnWriteAccess(void);
1.1       root       38: 
                     39: #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.