aboutsummaryrefslogtreecommitdiff
path: root/frontend/pcnt.h
diff options
context:
space:
mode:
authornotaz2011-10-19 01:58:04 +0300
committernotaz2011-10-30 23:48:07 +0200
commit82ed88ebe25a0312aab83623b5a983bd96f3d830 (patch)
tree80a19f77d63f4683345464f2df8bd3f8ecbe17ec /frontend/pcnt.h
parent054175e91a93116649ea1802790cb842516a85dc (diff)
downloadpcsx_rearmed-82ed88ebe25a0312aab83623b5a983bd96f3d830.tar.gz
pcsx_rearmed-82ed88ebe25a0312aab83623b5a983bd96f3d830.tar.bz2
pcsx_rearmed-82ed88ebe25a0312aab83623b5a983bd96f3d830.zip
pcnt: measure gte too
Diffstat (limited to 'frontend/pcnt.h')
-rw-r--r--frontend/pcnt.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/pcnt.h b/frontend/pcnt.h
index 3969aa4..0213ca1 100644
--- a/frontend/pcnt.h
+++ b/frontend/pcnt.h
@@ -4,13 +4,14 @@ enum pcounters {
PCNT_GPU,
PCNT_SPU,
PCNT_BLIT,
+ PCNT_GTE,
PCNT_TEST,
PCNT_CNT
};
#ifdef PCNT
-static const char *pcnt_names[PCNT_CNT] = { "", "gpu", "spu", "blit", "test" };
+static const char *pcnt_names[PCNT_CNT] = { "", "gpu", "spu", "blit", "gte", "test" };
#define PCNT_FRAMES 10
@@ -96,6 +97,9 @@ static inline void pcnt_init(void)
#endif
}
+void pcnt_gte_start(int op);
+void pcnt_gte_end(int op);
+
#else
#define pcnt_start(id)