pcnt: measure gte too
[pcsx_rearmed.git] / frontend / pcnt.h
index 3969aa4..0213ca1 100644 (file)
@@ -4,13 +4,14 @@ enum pcounters {
        PCNT_GPU,
        PCNT_SPU,
        PCNT_BLIT,
        PCNT_GPU,
        PCNT_SPU,
        PCNT_BLIT,
+       PCNT_GTE,
        PCNT_TEST,
        PCNT_CNT
 };
 
 #ifdef PCNT
 
        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
 
 
 #define PCNT_FRAMES 10
 
@@ -96,6 +97,9 @@ static inline void pcnt_init(void)
 #endif
 }
 
 #endif
 }
 
+void pcnt_gte_start(int op);
+void pcnt_gte_end(int op);
+
 #else
 
 #define pcnt_start(id)
 #else
 
 #define pcnt_start(id)