|
|
1.1 root 1: /*
2: * Hatari - profile.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_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);
14: extern bool Profile_Command(int nArgc, char *psArgs[], bool bForDsp);
15:
16: /* CPU profile control */
17: extern bool Profile_CpuStart(void);
18: extern void Profile_CpuUpdate(void);
19: extern void Profile_CpuStop(void);
20: /* CPU profile results */
21: extern void Profile_CpuShowStats(void);
22: extern void Profile_CpuShowCycles(unsigned int show);
23: extern void Profile_CpuShowCounts(unsigned int show, bool only_symbols);
24: extern bool Profile_CpuAddressData(Uint32 addr, Uint32 *count, Uint32 *cycles);
25:
26: /* DSP profile control */
27: extern bool Profile_DspStart(void);
28: extern void Profile_DspUpdate(void);
29: extern void Profile_DspStop(void);
30: /* DSP profile results */
31: extern void Profile_DspShowStats(void);
32: extern void Profile_DspShowCycles(unsigned int show);
33: extern void Profile_DspShowCounts(unsigned int show, bool only_symbols);
34: extern bool Profile_DspAddressData(Uint16 addr, Uint32 *count, Uint32 *cycles);
35:
36: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.