7#define PS2GL_METRICS_ENABLE 1
11 kMetricsTextureUploadCount,
14 kMetricsTextureUploadBytes,
17 kMetricsClutUploadCount,
20 kMetricsRendererUpload,
29typedef unsigned long long Metric_t;
31extern Metric_t g_Metrics[kMetricsCount];
35extern void pglResetMetrics();
39inline Metric_t pglGetMetric(MetricsEnum eMetric)
41 return g_Metrics[eMetric];
46inline void pglResetMetric(MetricsEnum eMetric)
48 g_Metrics[eMetric] = 0;
53inline void pglAddToMetric(MetricsEnum eMetric, Metric_t Value = 1)
55#if PS2GL_METRICS_ENABLE
56 g_Metrics[eMetric] += Value;