|
|
1.1 root 1: /*
2: * Hatari - profile.h
3: *
1.1.1.2 ! 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_PROFILE_H
9: #define HATARI_PROFILE_H
10:
11: /* profile command parsing */
12: extern const char Profile_Description[];
13: extern char *Profile_Match(const char *text, int state);
1.1.1.2 ! root 14: extern int Profile_Command(int nArgc, char *psArgs[], bool bForDsp);
1.1 root 15:
16: /* CPU profile control */
17: extern bool Profile_CpuStart(void);
18: extern void Profile_CpuUpdate(void);
19: extern void Profile_CpuStop(void);
1.1.1.2 ! root 20:
1.1 root 21: /* CPU profile results */
1.1.1.2 ! root 22: extern bool Profile_CpuAddressData(Uint32 addr, float *percentage, Uint32 *count, Uint32 *cycles, Uint32 *misses);
1.1 root 23:
24: /* DSP profile control */
25: extern bool Profile_DspStart(void);
26: extern void Profile_DspUpdate(void);
27: extern void Profile_DspStop(void);
1.1.1.2 ! root 28:
1.1 root 29: /* DSP profile results */
1.1.1.2 ! root 30: extern bool Profile_DspAddressData(Uint16 addr, float *percentage, Uint64 *count, Uint64 *cycles, Uint16 *cycle_diff);
1.1 root 31:
32: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.